This is a restriction of PHP. You can increase the timeout value to avoid it if the script needs more than 30 seconds to run sometimes.
Find max_execution_time in your php.ini file, increase the value, then restart Apache and you should be good.
You may also want to look at why that script takes more than 30 seconds to run.
I believe you can force the max_execution time in your code this way
Thanks for the replies. But I don't think our code will take that much time. And it seems that these are triggered by Laravel...
I have a similar issue, code shouldn't take that long, upon visiting same pages that create the error and running same code we have no issue...just seems to have random timeouts
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us