配置NGINX以在端口9000上运行PHP-FPM 7

时间:2018-03-15 10:27:31

标签: php nginx

我正在尝试配置NGINX服务器以运行PHP。

已安装PHP-FPM,我已通过运行cgi-fcgi -bind -connect 127.0.0.1:9000验证它是否正常工作以直接运行某些脚本。

服务器已配置为按照安装说明运行Taiga,因此只有nginx.conf文件可用。

这是我在nginx配置文件中的位置:

 For chain.A it has been detected 0 contacts
For chain.B it has been detected 5 contacts
For chain.C it has been detected 18 contacts
For chain.D it has been detected 12 contacts
For chain.E it has been detected 3 contacts
For chain.F it has been detected 22 contacts
For chain.G it has been detected 7 contacts
For chain.H it has been detected 0 contacts
For chain.I it has been detected 18 contacts
For chain.J it has been detected 3 contacts
For chain.K it has been detected 10 contacts
For chain.L it has been detected 12 contacts
For chain.M it has been detected 7 contacts
For chain.N it has been detected 5 contacts
For chain.O it has been detected 0 contacts
For chain.P it has been detected 12 contacts
TOTAL=0+5+18+12+3+22+7+0+18+3+10+12+7+5+0+12=134 contacts

}

我在/ static目录中有一个php文件,但我刚收到404错误。

0 个答案:

没有答案