首先你需要看下你的PHP版本,如果超出你写的代码支持的范围或者版本不够就会出现这种问题。

解决方案 »

  1.   

    display_errors= on已经设置了啊
      

  2.   

    $url = 'http://job.ncsq.net/index2.php';
    print_r(get_headers($url));
    Array
    (
        [0] => HTTP/1.1 200 OK
        [1] => Server: nginx/1.0.15
        [2] => Date: Mon, 15 Dec 2014 08:43:11 GMT
        [3] => Content-Type: text/html;charset=gb2312
        [4] => Connection: close
        [5] => X-Powered-By: PHP/5.2.17p1
        [6] => Set-Cookie: PHPSESSID=af64987394c7dbfabbe917ee776cad46; path=/ sessionid 已发出,可认为程序并无严重的错误
        [7] => Expires: Thu, 19 Nov 1981 08:52:00 GMT
        [8] => Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
        [9] => Pragma: no-cache
        [10] => Content-Length: 0 文档流长度为 0,可能是因为某个条件不满足,程序直接退出了
    )
      

  3.   

    我是php免费的开源程序 怎么知道他需要的权限呢?我觉得也是权限问题
      

  4.   

    看看你的程序文件夹是不是有rwx权限。
      

  5.   

    有啊,是777权限呢
    我是用的这个命令 chmod 777 -R 目录