我有这个错误:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\AppServ\www\facebook\classes\burccek.class.php on line 56
(即时通讯使用 file_get_contents)
(在此程序中,我将 file_get_contents 数据发布到 Facebook 用户墙(offline_access))
最佳答案
这意味着file_get_contents
操作花费的时间超过了PHP的最大执行时间。如果您需要更长的时间,请在文件顶部添加以下行:set_time_limit($seconds);
但是 30 秒似乎已经很长了,因此您的应用程序可能存在其他问题。
关于php - 时间超过30秒错误?文件获取内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6935710/