<label id="kdrfs"><p id="kdrfs"><pre id="kdrfs"></pre></p></label>
  • <meter id="kdrfs"></meter>
    <meter id="kdrfs"></meter>

    <cite id="kdrfs"></cite>

    1. <menu id="kdrfs"><s id="kdrfs"><pre id="kdrfs"></pre></s></menu>
    2. <meter id="kdrfs"><font id="kdrfs"></font></meter>

      CentOS 6.5下將PHP 5.3升級到5.4或5.5的方法

      2017-02-15 13:50:30來源:威易網作者:

      本文介紹在CentOS 6.5操作系統下,使用yum將PHP 5.3升級到PHP5.4或者PHP5.5的方法。其實只需要兩個命令就可以完成:

      本文介紹在CentOS 6.5操作系統下,使用yum將PHP 5.3升級到PHP5.4或者PHP5.5的方法。其實只需要兩個命令就可以完成:

      1、PHP 5.3升級到5.4

      命令如下:

      yum remove php php-bcmath php-cli php-common php-devel php-fpm php-gd php-imap php-ldap php-mbstring php-mcrypt php-mysql  php-odbc  php-pdo  php-pear php-pecl-igbinary php-xml php-xmlrpc

      rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

      yum install php54w php54w-bcmath php54w-cli php54w-common php54w-devel php54w-fpm  php54w-gd php54w-imap php54w-ldap php54w-mbstring php54w-mcrypt php54w-mysql  php54w-odbc  php54w-pdo  php54w-pear php54w-pecl-igbinary php54w-xml php54w-xmlrpc php54w-opcache php54w-intl php54w-pecl-memcache

      2、PHP 5.3升級到5.5

      與升級到5.4差別不大,命令是:

      yum remove php php-bcmath php-cli php-common php-devel php-fpm  php-gd php-imap php-ldap php-mbstring php-mcrypt php-mysql  php-odbc  php-pdo  php-pear php-pecl-igbinary php-xml php-xmlrpc

      rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

      yum install php55w php55w-bcmath php55w-cli php55w-common php55w-devel php55w-fpm  php55w-gd php55w-imap php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql  php55w-odbc  php55w-pdo  php55w-pear php55w-pecl-igbinary php55w-xml php55w-xmlrpc php55w-opcache php55w-intl php55w-pecl-memcache

      這樣操作后就完成了升級工作。

      關鍵詞:CentOSPHP
      世界杯买球网址