环境是集成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 也没有输出。
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 也没有输出。
ini_set('display_errors', '1');