3、安装 PHP
# yum --enablerepo=remi,remi-php55 install php-fpm php-common php-devel php-mysqlnd php-mbstring php-mcrypt
4、查看 PHP 版本
# php -v
5、启动 php-fpm
# service php-fpm start
6、设置php-fpm开机自启动:
# chkconfig --add php-fpm
# chkconfig php-fpm on
(完) by still、
以上就是centos 如何安装 php环境的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
更多相关阅读请进入《CentOS》频道 >>