Php script timeout after 5 minutes

apache-2.2PHPtimeout

I am using wamp and my php script timeout after 5 mins. I have changed these settings

php.ini

 max_input_time 3000
 max_execution_time 3000
 memory_limit  1024M 
 max_post_size   32M

Apache Config

Timeouts    Connection: 3000 

Anything I am missing?

Best Answer

TimeOut 1200

You need to increase timeout on reading from module, not connection timeout. Connection actually happens way fast, there are few cases when it's timeout needs to be tuned.