环境是集成PHP的环境,收集的数据量比较大,往数据库录入 需要进行200+的次数,运行到大概150+的时候就会出现这个错误。
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.错误日志开启着呢,但是并没有生成错误日志。PHP配置max_execution_time也进行了设置。      在运行程序中,添加了输出语句,每次循环完毕输出一个end  也没有输出。

解决方案 »

  1.   

    打开 php 的错误显示功能,或将错误信息重定向到文件你不去检查 php 是否遇到的难题,光瞎猜是不行的
      

  2.   

    程序也能运行就是在数据量 比较大的那行就卡住了,然后提示Internal Server Error  这个错误  
      

  3.   

    基本上超时吧,打开错误 输出error_reporting(E_ALL);
    ini_set('display_errors', '1');
      

  4.   

    超时     那个在PHP文件已经进行配置了吧
      

  5.   

    你说的这两个我在PHP.ini   已经是开启状态了Internal Server Error   就一直是这个错误    还是在数据量大的那行过不去
      

  6.   

    php.ini 中另 display_errors=On 后重启apache再运行看有错误吗
      

  7.   

    我PHP.ini    的 display_errors=On   一直都是,只提示Internal Server Error 我感觉可能是因为数据太多  要循环查询6000多次  过不去    改称成 连表查询了   不知道能不能过去,程序还在运行中。
      

  8.   

    数据量太大  数据库一到那行就报 Internal Server Error 错误,有办法解决么?    来人啊~~~~~~~~~~~~
      

  9.   

    我找到问题了,MAX求最大值的数组在运行中为空 
      

  10.   

    是代码的问题吗,max在哪
      

  11.   

    也是有错误的。难道这个就是php的最大的限度了嘛.... 部分数据是可以的,数据一多执行时间久就报错了
      

  12.   

    代码头部加  set_time_limit(0);