|
楼主 |
发表于 2012-12-7 21:16
|
显示全部楼层
henrychen95 发表于 2012-12-7 17:02 
通常500錯誤有兩個情形
1. web service 設定錯誤
2. 程式發生錯誤
{:soso_e109:}找了半天确实找不到好解法额...
现在只知道fastcgi出的问题
修改fastcg.server设置
为- fastcgi.server = (
- ".php" => (
- "localhost" => (
- "host"=>"127.0.0.1",
- "port"=>1026,
- "bin-path" => "/usr/bin/php-cgi",
- )
- )
- )
复制代码 lighttpd 的error.log信息:(php的error.log里面没有ERROR只有Warning)- 2012-12-07 21:10:43: (mod_fastcgi.c.2804) child signaled: 11
- 2012-12-07 21:10:43: (mod_fastcgi.c.2566) unexpected end-of-file (perhaps the fastcgi process died): pid: 6339 socket: tcp:127.0.0.1:1029
- 2012-12-07 21:10:43: (mod_fastcgi.c.3352) response not received, request sent: 923 on socket: tcp:127.0.0.1:1029 for /test.php?, closing connection
复制代码 希望大神帮帮忙,跪谢...
|
|