centos6搭建PHP5+Nginx开发环境
1.PHP5 安装
To upgrade to PHP 5.5:
Enter the following commands in the order shown.
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum -y remove php-common-5.3.3-40.el6_6.x86_64
yum -y install php55w php55w-opcache
yum -y install php55w-xml php55w-mcrypt php55w-gd php55w-devel php55w-mysql php55w-intl php55w-mbstring
Restart Apache: service httpd restart
Continue with the next section.