访问html可以正常访问,但是访问PHP则错误,原因:
nginx不能正常通过FastCGI结果访问PHP
查看php-fpm是否正常运行:
果然没有,重启php-fpm:
/etc/init.d/php-fpm start #每个人的位置可能不一样
或者是 :service php-fpm start
重启之后
恢复正常
访问html可以正常访问,但是访问PHP则错误,原因:
nginx不能正常通过FastCGI结果访问PHP
查看php-fpm是否正常运行:
果然没有,重启php-fpm:
/etc/init.d/php-fpm start #每个人的位置可能不一样
或者是 :service php-fpm start
重启之后
恢复正常
转载于:https://www.cnblogs.com/Skrillex/p/7794487.html
因篇幅问题不能全部显示,请点此查看更多更全内容