I’m using PHP 8.2.12 and Laravel 9.52.16, and even setting max_execution_time to 300, restarting XAMPP, and restarting the computer, if the project takes more than 60 seconds to load, the maximum execution time error occurs. How do I fix this?
P.S.: I’m using a localhost project
2
Answers
curl, postman
to send request, or think aboutqueue
in laravelYou need to do more steps to figure out if it not working even after changing the MAX_EXECUTION_TIME value.
Then, test this above added route like (modify it according to your url and port:
After you have done the changes in php.ini file, you must restart your XAMPP server.
Windows:
or
Search for the Timeout directive and set it to a higher value:
Also restart Apache.
The above steps will help you to fix this MAX_EXECUTION_TIME issue.