CentOS 7使用yum安裝PHP5.6:https://www.cnblogs.com/EasonJim/p/9614577.html
安裝PHP可能出現的錯誤:Error: php72w-common conflicts with php-common-5.4.16-45.el7.x86_64
參考:https://blog.csdn.net/one312/article/details/80716411
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 ----skip-broken
這條命令後面接上----skip-broken 則可安裝成功
PHP配置nginx:https://blog.csdn.net/weixin_40096730/article/details/85756541