: What setting allows a PHP to run for more than 60 seconds under Windows FastCGI? I have a PHP script which is timing out after 60 seconds. I have changed the following config values but they
I have a PHP script which is timing out after 60 seconds. I have changed the following config values but they don't seem to have any affect:
max_execution_time
default_socket_timeout
mysql.connect_timeout
max_input_time
All of the above have values of 6000, but the script stops after 60 seconds. Can anyone suggest any other reasons the script would terminate?
More posts by @Smith883
1 Comments
Sorted by latest first Latest Oldest Best
Check your server's apache and php logs for any error. It might help you to narrow down your problem.
Besides PHP timeouts, there are also other timeouts in Apache and MySQL which might be causing your script to stop working after 60 seconds,
FcgidIOTimeout and FcgidBusyTimeout (file: fcgid.conf)
Ref: premature end of script
connect-timeout of mysqld server (file:my.cnf)
Ref: mysql connection timeout
Timeout of apache server
Ref: Apache Docs
also check apache and php - limits and timeouts for more details
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.