Jump to content

php script times out - apache setting, I think..


coderb

Recommended Posts

Hi All,

I'm running an email script that is executed on form submit. This sends multiple emails to customers and can run for say 10 minutes, because each email is individaully built and it's own attachment (av size 800kb).

 

I've changed the max time (2000 seconds) and memory (16mb) php.ini settings for scripts, which is fine, however the script still aborts after 5 minutes exactly.

I then checked my phpinfo and noticed that apache has two settings that inidicate (to me) the problem:

 

apache2handler

Timeouts Connection: 300 - Keep-Alive: 5

 

Apache Environment

HTTP_KEEP_ALIVE 300

 

So, the questions are, how/where do I change these settings? Is it wise?

 

I've checked in my httpd.conf file and could not see any ref to these settings. Not even in the file comments?

 

any help greatly appreciated.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.