Home >> PHP >> How to increase maximum execution time in PHP

How to increase maximum execution time in PHP

Method 1:-
Follow the below steps to increase the maximum execution time in PHP.
1)-Open the php.ini file.
2)-Search for max_execution_time variable and change the size.

     max_execution_time = 600000

3)-Search for max_input_time variable and change the size.

     max_input_time = 600000

4)-Once done, save the modified php.ini file and restart the server.

Method 2:-

Infinite time of execution

ini_set('max_execution_time', '0');

Post Your Comment

Next Questions
How to Increase File Upload Size
Set maximum execution time
Set maximum execution time unlimited
What are the rules for naming a variable
How can you compare objects
Some of the popular frameworks
How to concatenate two strings
How to encrypt password

Copyright ©2022 coderraj.com. All Rights Reserved.