欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

centos6.8安裝php5.5,php5.6,php7

centos 上用yum安裝php版本太低了是5.3的,所以要更新下yum源

十多年建站經(jīng)驗, 成都網(wǎng)站制作、成都網(wǎng)站設(shè)計、外貿(mào)營銷網(wǎng)站建設(shè)客戶的見證與正確選擇。創(chuàng)新互聯(lián)提供完善的營銷型網(wǎng)頁建站明細(xì)報價表。后期開發(fā)更加便捷高效,我們致力于追求更美、更快、更規(guī)范。

配置yum源

追加CentOS 6.8的epel及remi源。

# rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

以下是CentOS 7.0的源。

# yum install epel-release

# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

使用yum list命令查看可安裝的包(Packege)。

# yum list --enablerepo=remi --enablerepo=remi-php56 | grep php

安裝PHP5.6

yum源配置好了,下一步就安裝PHP5.6(更新源后,也可以安裝php7 的下面的56改成70)

# yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-MySQLnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof

用PHP命令查看版本。

復(fù)制代碼

# php --version

在這里安裝的版本是PHP5.6.0,細(xì)心的用戶可能已經(jīng)發(fā)現(xiàn)ZendGuardLoader變成Zend OPcahe了。

對從PHP5.5開始PHP代碼緩存從APC變成了Zend OPcache了。

補充:可用此方式進行PHP升級。

本文題目:centos6.8安裝php5.5,php5.6,php7
文章鏈接:http://chinadenli.net/article46/jpseeg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站設(shè)計動態(tài)網(wǎng)站靜態(tài)網(wǎng)站企業(yè)網(wǎng)站制作Google營銷型網(wǎng)站建設(shè)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)