配置yum源 追加CentOS 6.5的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 ...
To install PHP 5.6 or to upgrade from PHP 5.5 on Ubuntu 14: Enter the following commands in the order shown: apt-get -y update add-apt-repository ppa:ondrej/php apt-get -y install php5.6 php5.6-mcrypt...
1. sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` 查询卸载已安装PHP 2. sudo add-apt-repository ppa:ondrej/php 3. sudo apt-get update sudo apt-get install php5.6
默认Debain7 安装的是 php5.4 , 版本相对有点低了 ; deb http://debian.mirrors.ovh.net/debian/ wheezy main deb-src http://debian.mirrors.ovh.net/debian/ wheezy main deb http://packages.dotdeb.org wheezy all deb-src htt...