Home »

How is it possible to set an infinite execution time for PHP script?

Question ListCategory: PHPHow is it possible to set an infinite execution time for PHP script?
jessica537 author asked 10 years ago
1 Answers
jeanderson295 author answered 8 years ago

The set_time_limit(0) added at the beginning of a script sets to infinite the time of execution to not have the PHP error ‘maximum execution time exceeded’.It is also possible to specify this in the php.ini file.

Please login or Register to Submit Answer