1,安裝lnmp一鍵安裝包php
2,修改nginx 下 fastcgi.conf 文件 前面增長#好(#fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";)nginx
3,修改nginx下nginx.conf lnmp
註釋#include enable-php.conf;ast
新增include enable-php-pathinfo.conf;3sed
4,php.ini 文件修改 fastcgi.impersonate=1 取消;cgi
此時能夠享受tp帶來的快樂了哈哈哈fastcgi