當前的運行環境為,PHP7.2.2以 FastCGI 模式運行,默認端口為:9000,Nginx1.15.6
打開nginx配置文件
vi /usr/local/nginx/conf/nginx.conf
具體位置根據安裝情況可能會有所差異
location ~ \.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
當前的運行環境為,PHP7.2.2以 FastCGI 模式運行,默認端口為:9000,Nginx1.15.6
打開nginx配置文件
vi /usr/local/nginx/conf/nginx.conf
具體位置根據安裝情況可能會有所差異
location ~ \.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。