服务器运行php项目出现nginx error!

The page you are looking for is temporarily unavailable. Please try again later.

Something has triggered an error on your website. This is the default error page for nginx that is distributed with EPEL. It is located /usr/share/nginx/html/50x.html

You should customize this error page for your own site or edit the error_page directive in the nginx configuration file /etc/nginx/nginx.conf.

阅读 14.4k
3 个回答

去看nginx具体的错误日志啊

新手上路,请多包涵

你应该启动你的PHP引擎
service php-fpm start

从错误提示上看,不一定是你nginx配置问题,你需要看看你项目配置是不是符合对应访问机制,再结合错误日志查查看

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题