首页 > 数据库技术 > 详细

nginx 500错误 导致一些数据库备份程序(phpmyadmin/帝国备份王)打开空白

时间:2015-04-19 08:59:24      阅读:331      评论:0      收藏:0      [点我收藏+]

PHP版本 5.4

nginx 1.62


nginx报错:

2015/04/07 05:50:43 [error] 1788#0: *413 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected end of file in /data/bei123/class/functions.php on line 1246″ while reading response header from upstream, client: 1×2.1×3.1×7.1×7, server: xxx.xxx.8x.1×9, request: “GET / HTTP/1.1″, upstream: “fastcgi://127.0.0.1:9000″, host: “1×2.1×2.x5.1×9″


解决方法:

打开PHP.ini中的短标签选项

short_open_tag=Off

改成

short_open_tag=On

然后重启php-fpm

ps axu |grep php-fpm 查看 Ss那一项 的第二列 的数字 为进程ID


kill -USR2 进程ID

来重启php-fpm


nginx 500错误 导致一些数据库备份程序(phpmyadmin/帝国备份王)打开空白

原文:http://my.oschina.net/u/2351160/blog/403474

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!