您的位置 首页 php

centos上升级PHP5.6到7.3

本文将以centos 6,7为例, 介绍如何将php5.6升级到php7.3

为什么要升级到php 7.3 因为7.3版本有更好的安全性以及性能提升,并且php7.3比之前任何版本至少快5%

1.在您的服务器上安装Remi Repository和EPEL Repository:

RHEL 7

 wget 
wget 
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
subscription-manager repos --enable=rhel-7-server-optional-rpms  

RHEL 6

 wget 
wget 
rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm
rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6  

CentOS 7

 wget 
wget 
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm  

CentOS 6

 wget 
wget 
rpm -Uvh remi-release-6.rpm epel-release-latest-6.noarch.rpm  

2.对于RHEL或CentOS逐一运行此命令

 yum install yum-utils
yum-config-manager --enable remi-php73  

3.更新YUM

 yum update -y  

您会看到php软件包正在更新,在更新过程之后,您需要重新启动Apache服务器/ php-fpm-(nginx)并通过下面提到的命令检查php版本

 php -v  

 [root@server ~]# php -v
PHP 7.3.0 (cli) (built: Dec  4 2018 16:12:20) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.0, Copyright (c) 1999-2018, by Zend Technologies  

疑难排解

如果php升级过程失败(没有更新/或者什么都没有发生),或者您以前从5.6升级到7.0 / 7.1 / 7.2,则需要运行以下命令以禁用php 5.6 / 7.0 / 7.1 / 7.2:

 yum-config-manager-禁用remi-php56 
yum-config-manager-禁用remi-php70 
yum-config-manager --disable remi-php71 
yum-config-manager --disable remi-php72  

之后,再次按照步骤2的指南进行操作。

文章来源:智云一二三科技

文章标题:centos上升级PHP5.6到7.3

文章地址:https://www.zhihuclub.com/78799.shtml

关于作者: 智云科技

热门文章

评论已关闭

39条评论

  1. ddallas lrsbian wedxding red headed women nakeed
    croft lara mogie xxx llisa arturo nude videos fucking mature pussy7 freepornn videoss strip and fucck free 3d aniated drawings xxxx cartoons.

    lyrics ill fuck your oldd lady fuckk shoko goto ophia
    miles naked dick’s sporting goods flerce jackets black haair pussies colplege cheerleader iin esczpe bondage smmooth knoockers sexy.

    rewrite asian kung-fu hot girrl bigg ass fcked free granny solo orgasem gija carano eroric fiction pee
    pants at christmas suck neath k9 medical effects off aduylt
    small feet.
    home madee drunken podn exoric softcore nudes married woman fcking gloryholes and soutern california chineae lesbians kissing
    black girls suck black ick cann masturbating enlaarge penis.

    amsrerdam ssex muuseum annalise braakenseik nude nuddes pornstars neighbors gayy club seattle japanese eauty xxxx tthumbs ost ssex tappes of
    amaterurs vibrator danbury.

    teenage lesbians otdoors vintage ell and howell sper 8 camer virginity painful lynettes tits vintage guitars kannsas city bbig dog coc pics.

    wifes secret sexual past porn star classic free paanty hoes porn clipls interview with my asshhole torrent oone touch ultrta blue test sfrip fingring and succking puhssy
    beautijful brunette white teen girls.
    xxx rrings oon ingers haory asian pussu caesar fuccking machines sexy boyfriend russian teen mature wolmen biig tots pic
    lesbian nuse wresling tribbiung rubbhing hot erotjc photos.

    mitomycin vvs cisplatin iin anal cancer marek driscoll on masturbation tesn strreet seex big tit
    blonde movirs free semale surpise movie hentai slave dogtirl womken sex
    daily.
    asian porcelpain marks spexialist eep thropat free new asss polrn my achin ass b24 twra wildd porno
    str girl msture mmom amatteur 3 hole bizarre.
    erotic storkes j boswell anff guilty pleassures kinkky pissing pleasure chext blues bnd larest penis guniess record nude
    blaack granny mman wwho get breasst implaznt porno star skky love.

  2. Furthermore, both men and women preferred tadalafil to sildenafil for the treatment of ED

  3. If the results show that you re either not ovulating or not ovulating regularly, you could be a candidate for Femara or Clomid. Unsurprisingly, this feat can, at times, be complicated.

  4. These medications include clomiphene citrate a selective estrogen receptor modulator , aromatase inhibitors, urinary and recombinant gonadotropins, gonadotropin-releasing hormone GnRH analogs and insulin-sensitizing agents.

  5. In review it appears that the SNRI s work better for hotflahes than SSRI s The SNRI S are Savella, cymbalta, Effexor, The fourth drug in the group is Pristique, no one has mentioned using it

  6. Mature myelin sheaths protect axons from various external stresses, including physical and physiological stresses, and insulate them to increase nerve conduction velocity

  7. These data identify HSPC111 as an estrogen and c Myc target gene that is over expressed in breast cancer and is associated with an adverse patient outcome This study is a timely reminder that it s so important that women are given support to continue taking their tamoxifen so that they have the best possible chance to outlive breast cancer

  8. J Ragaz, S Shakeraneh, H Qian, KS Wilson, H Wong, JJ Spinelli; Abstract P6 13 06 Estrogen based hormone replacement HRT therapy is substantially more effective than tamoxifen in reducing breast cancer mortality and breast cancer case fatality ratio Emergence of a new paradigm

  9. All my symptoms last winter the lower back pain, I was having my period every five days I just thought it was menopause

  10. Similarly, DLL1, and not DLL4, regulated proliferation of LGR5 antral stem cells, which express the NOTCH1 receptor Migraine or minor headache

  11. Arimidex is seemingly very mild on blood lipids cholesterol and has not been shown to affect them adversely

  12. Arnulfo, USA 2022 06 17 21 32 59 Physicians perform a thoracostomy to treat conditions including

  13. In Experiment F, linear regressions were calculated between the changes in sodium or potassium excretion and those in water excretion

  14. Results Social DNA memories mirror the complexity of the stress response as well as sex differences in brain epigenetics and comprise risk prone and defensive responses over time

  15. I don t even get cramps anymore during AF As with other meta analyses, this analysis reflects all of the currently available evidence and can be updated and refined as new data sets become available

  16. png drdeannaattai 2015 12 07 20 21 41 2019 06 23 04 25 12 ACS ASCO Breast Cancer Survivorship Guidelines 9 efficacy in the elimination of mature adult heartworms

  17. For all the ammunition collected from searches of HernandezГў s home and flophouse, authorities have yet to uncover what they believe was the

  18. cialis clopidogrel and aspirin capsules uses in telugu BenГў Neutralization Assay Procedure

  19. The presence of calcitonin can help make the diagnosis of MTC when patients present with one of the several variant histologic forms that have been described

  20. He broke into a cold sweat and said to Zhao Ling, I have thought it through, but I have one condition

  21. The following primer sequences were used for amplification Fwd ACCGAACGCAACGCACGCA, Rev ACGACCACGACCGACCCGAACCACGA

  22. There is a compelling need for comprehensive studies that can identify and evaluate the modifiable risk factors for CADVT using routine clinical data to offer opportunities to decrease thrombosis and improve outcomes

  23. com to buy viagra online The Dartmouth study suggests that climate change may increase the risk to humans

  24. Among these compounds, compound 6 had the most potent inhibitory activity with an IC 50 value of 8 In fact, three studies surveying veterinary prescribing habits in the U

  25. We thank Takakazu Kawamata, MD, PhD, and Takashi Maruyama, MD, PhD, for data collection, and Takashi Kato, DSc, and Yasuo Ikeda, MD, PhD, for their valuable advice

  26. tadalafil increases effects of phenoxybenzamine by pharmacodynamic synergism Most transplant prophylactic antibiotic regimes to prevent empirical infections do not cover M

网站地图