Mobile app version of vmapp.org
Login or Join
Smith883

: 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

@Smith883

Posted in: #LoadTime #Php #Windows

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

1 Comments

Sorted by latest first Latest Oldest Best

 

@Chiappetta492

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme