ini_set('max_execution_time', '300'); //300 seconds = 5 minutes
ini_set('max_execution_time', '0'); // for infinite time of execution
Place this at the top of your PHP script and let your script loose!
Taken from Increase PHP Script Execution Time Limit Using ini_set()
Related Contents:
- Maximum execution time in phpMyadmin
- How to locate the php.ini file (xampp)
- PHP Warning: Module already loaded in Unknown on line 0
- How to solve time out in phpmyadmin?
- PHP | “The requested PHP extension bcmath is missing from your system.”
- Script timeout passed, if you want to finish import, please resubmit the same file and import will resume
- “The requested PHP extension bcmath is missing from your system.”
- browscap ini directive not set
- PHP ini file_get_contents external url
- Is it possible to use inline comments for .ini files with PHP?
- How to get multiple selected values of select box in php?
- How to use a switch case ‘or’ in PHP
- Remove non-numeric characters (excluding periods and commas) from a string (i.e. remove all characters except numbers, commas, and periods)
- PHP array_filter with arguments
- New Line on PHP CLI
- How to check that an object is empty in PHP?
- Problems with lib-icu dependency when installing Symfony 2.3.x via Composer
- array_unique for objects?
- How to install php-redis extension using the official PHP Docker image approach?
- Laravel back button
- How can I send JSON response in symfony2 controller
- How to send UTF-8 email?
- Merge PDF files with PHP [closed]
- Where to find composer’s global packages?
- How to include WordPress functions in custom .php file?
- Using SimpleXML to create an XML object from scratch
- How to change mysql to mysqli?
- PHP-FPM and Nginx: 502 Bad Gateway
- Is GOTO in PHP evil? [closed]
- Execute PHP scripts within Node.js web server
- Generating random results by weight in PHP?
- Form submit with AJAX passing form data to PHP without page refresh [duplicate]
- PHP echo vs PHP short echo tags
- Return current date plus 7 days
- How to get the previous url using PHP
- Getting Hour and Minute in PHP
- Automatic values for updated_at, created_at in Doctrine
- How do I assert the result is an integer in PHPUnit?
- PHP Configuration: It is not safe to rely on the system’s timezone settings [duplicate]
- How to check if a file exists from a url
- Abstract Class vs. Interface [duplicate]
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Sort array by object property in PHP?
- Can’t find FULLTEXT index matching the column list (indexes is set)
- undefined offset PHP error
- Can I use string concatenation to define a class CONST in PHP?
- php interactive shell doesn’t have any output?
- The behaviour of the or operator in PHP
- How to read a list of files from a folder using PHP? [closed]
- Using number_format method in Laravel