Nginx 访问php文件返回404 Not Found错误

原文链接:http://www.51ask.org/question/397

Nginx 访问php文件返回404 Not Found错误

在虚拟机安装了CentOS系统,配置了Nginx+PHP+MYSQL的环境。
安装完毕后浏览器访问php文件返回404错误。html文件正常,这是怎么回事?

解决方案:

service php-fpm restart

猜你喜欢

转载自51ask.iteye.com/blog/2370031