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.
3)-Search for max_input_time variable and change the size.
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');
Copyright ©2022 coderraj.com. All Rights Reserved.