新聞中心
這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
怎么設(shè)置php5.5版本
本文操作環(huán)境:centos6.5系統(tǒng)、php5.5版、DELL G3電腦

臺安網(wǎng)站建設(shè)公司創(chuàng)新互聯(lián),臺安網(wǎng)站設(shè)計制作,有大型網(wǎng)站制作公司豐富經(jīng)驗。已為臺安上千家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\成都外貿(mào)網(wǎng)站建設(shè)公司要多少錢,請找那個售后服務(wù)好的臺安做網(wǎng)站的公司定做!
怎么設(shè)置php5.5版本?如何把php5.3版本升級到php5.4或者php5.5?
今天我們這篇php的技術(shù)文章主要為各位朋友們介紹如何使用yum進行安裝php的5.4或者5.5版本。當(dāng)然我們使用centos6.5作為我們的測試機器。
其實非常簡單,只要下面的兩個命令就可以輕松的進行安裝php的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
當(dāng)然擴展的話,可以根據(jù)你自己的需要進行添加或者刪除哦,至于說php5.5的安裝,跟php5.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
以上內(nèi)容就是本文的全部所述,希望大家喜歡。
本文名稱:怎么設(shè)置php5.5版本
標題路徑:http://m.5511xx.com/article/codsjsi.html


咨詢
建站咨詢
