开发者

Change php info in a server

In my php project i have to upload a file with 11mb. maximum uploading size is 24 mb. But sometimes i got maximum time execusion error, How i avoid this problem. Is it possible to change the max_exec开发者_C百科ution_time in php configuration using any scripting.


Try

set_time_limit(0);

See http://php.net/manual/en/function.set-time-limit.php

Note that this function has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜