coderb Posted March 13, 2008 Share Posted March 13, 2008 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. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted March 13, 2008 Share Posted March 13, 2008 have you tried outputting info to the browser as the script runs? if your script runs 10 minutes with no output, apache is not going to be happy. Quote Link to comment Share on other sites More sharing options...
coderb Posted March 13, 2008 Author Share Posted March 13, 2008 I'm a bit confused as to how I'd do that, since my action script performs the email loop, not sure how I would correctly output to a page until it has redirected after completion? thanks, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.