Php – Apache2 PHP5 timeout setting

apache-2.2PHPtimeout

I have a long script to run, as cron, in PHP. I'm calling the script locally using wget from a cron job, but it fails after 15 minutes.

In apache2.conf, I have configured Timeout to 12000
In php.ini, I have configured max_execution_time to 72000

Despite those settings, wget fails after exactly 15 minutes…

Is there any other place where I need to change a setting ?

I'm using Ubuntu 12.04 with all packages up to date (Apache 2.2, PHP 5.3).

Thank you

Best Answer

Why wget?...what this script is actually doing? When your cron gets executed, have you checked apache/php threads in memory?