1.安装phprpm-Uvhhttps://dl.fedoraproject.org/...rpm-Uvhhttps://mirror.webtatic.com/y...yum-y安装php72wphp72w-cliphp72w-commonphp72w-develphp72w-嵌入式php72w-fpmphp72w-gdphp72w-mbstringphp72w-mysqlndphp72w-opcachephp72w-pdophp72w-xmlsystemctl启动php-fpm2。3、配置nginxserver{listen80;server_namewww.xuejiayuan.net;location/{root/opt/zentaopms/www;indexindex.phpindex.htmlindex.htm;}location~.php${root/opt/zentaopms/www;fastcgi_pass127.0.0.1:9000;fastcgi_indexindex.php;fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;includefastcgi_params;}error_page500502503504/50x.html;location}=/50html4:在配置浏览器中打开:https://www.xuejiayuan.net按照上面的命令使用。如果发现无效,执行以下命令重试:setenforce0
