centos7如何安裝php【指定不同的版本】比如5.6以上版本【及配置nginx】

CentOS 7使用yum安裝PHP5.6https://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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章