I am building a few intense scripts and I was wondering if there is some sort of limit as to how long they can run for? (i.e.) One program is a port scanner and I find it hangs sometimes on me :bemused:
I believe on most servers it is 30 seconds script execution time limit...
Originally posted by bodzan I believe on most servers it is 30 seconds script execution time limit...
Ahh thanks 🆒
[man]set_time_limit[/man]
By default it 30 seconds. You can change the parameter in php.ini
max_execution_time=30 ; Maximum execution time of each script, in seconds
🙂 30 second script run time is idle for Security resons dont change it
30 seconds is time for a ton of code to run isn't it?