[PHP] After a PHP script timeout, Apache logs the error but may not cleanly exit the script

2013-10-06 Thread Meta Seller Admin
: http://serverfault.com/questions/542045/after-a-php-script-timeout-apache-logs-the-error-but-may-not-cleanly-exit-the-s Ric. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] script timeout

2007-04-25 Thread Henning Eiben
Hi, I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to return an appropriate HTTP status-code (might be 500 or

Re: [PHP] script timeout

2007-04-25 Thread Tijnema !
On 4/25/07, Henning Eiben [EMAIL PROTECTED] wrote: Hi, I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to return

Re: [PHP] script timeout

2007-04-25 Thread Henning Eiben
Tijnema ! wrote: I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to return an appropriate HTTP status-code

Re: [PHP] script timeout

2007-04-25 Thread Stut
Henning Eiben wrote: Tijnema ! wrote: I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to return an appropriate

Re: [PHP] script timeout

2007-04-25 Thread Stut
Stut wrote: Henning Eiben wrote: Tijnema ! wrote: I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to return

Re: [PHP] script timeout

2007-04-25 Thread Richard Lynch
On Wed, April 25, 2007 4:27 am, Henning Eiben wrote: I have a small sample-application, that uses smarty for the presentation layer. Unfortunately I might encounter script-timeouts (not necessarily from smarty, could also be the DB-connection or something). In this case I would like to

[PHP] Script timeout?

2004-01-27 Thread Ben Ramsey
I'm trying to run a query against a database with a PHP script that cycles through each record (about 4,000+) and sends and e-mail to them if they have an e-mail address present. The problem is that everytime I do this, it processes about 430 records and stops. There is no error message

Re: [PHP] Script timeout?

2004-01-27 Thread memoimyself
Hello Ben, On 27 Jan 2004 at 9:27, Ben Ramsey wrote: I'm trying to run a query against a database with a PHP script that cycles through each record (about 4,000+) and sends and e-mail to them if they have an e-mail address present. The problem is that everytime I do this, it processes

Re: [PHP] Script timeout?

2004-01-27 Thread Ben Ramsey
Ah... I was trying to lookup the word timeout, which was giving me nothing. Thanks! Also, shouldn't I be receiving an error message if the script is, in fact, timing out? I have checked display_errors and it is turned on. [EMAIL PROTECTED] wrote: Hello Ben, On 27 Jan 2004 at 9:27, Ben

Re: [PHP] Script timeout?

2004-01-27 Thread Marek Kilimajer
set_time_limit() This function has no effect in safe mode, you will need another workaround, for example send fisrt 400 emails and redirect the browser to send next 400 emails and so on untill you are done. Ben Ramsey wrote: I'm trying to run a query against a database with a PHP script that

Re: [PHP] Script timeout?

2004-01-27 Thread Marek Kilimajer
You should. I know I did in older version of php, now I don't. Ben Ramsey wrote: Ah... I was trying to lookup the word timeout, which was giving me nothing. Thanks! Also, shouldn't I be receiving an error message if the script is, in fact, timing out? I have checked display_errors and it

Re: [PHP] Script timeout?

2004-01-27 Thread Ben Ramsey
I'm running PHP 5.0 beta 3, and I have seen script timeout errors before. It's just odd that I wasn't receiving them this time. Increasing the timeout helped, but didn't fully correct the problem. I just kept changing the SQL statement to WHERE user_key = [id number where it left off] so

RE: [PHP] Script timeout?

2004-01-27 Thread jon roig
: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 7:36 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Script timeout? Hello Ben, On 27 Jan 2004 at 9:27, Ben Ramsey wrote: I'm trying to run a query

[PHP] Script timeout Problem

2003-12-18 Thread Haseeb Iqbal
hi, i need to update a mysql table with a dbf file, the dbf file contains more then 16 records. i knew that the script will not be able to update 16 records in 1 go so i am refreshing the page after speacific no of records. but still the same problem. the script timeout.i tried changing

Re: [PHP] Script timeout

2001-08-23 Thread Christian Reiniger
On Wednesday 22 August 2001 17:59, Julian Wood wrote: I have a script which has to do a *lot* of work. In fact, it times out after 300 seconds, but is only about half done at that point. So I tried using set_time_limit(0) to no avail (php is *not* running in safe mode). So next I tried this

RE: [PHP] Script timeout

2001-08-23 Thread Dave
flush is your friend -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 5:42 AM To: Julian Wood; [EMAIL PROTECTED] Subject: Re: [PHP] Script timeout On Wednesday 22 August 2001 17:59, Julian Wood wrote: I have a script which has

RE: [PHP] Script timeout

2001-08-23 Thread Johnson, Kirk
Why timeout at 300s instead of the 30s or the 12000s which are the only two values reported? Looks like some HTTP timeout, i.e. either Apache or the browser is getting bored. Try outputting something from time to time. Can anybody point me to information on all the possible HTTP timeouts

[PHP] Script timeout

2001-08-22 Thread Julian Wood
I have a script which has to do a *lot* of work. In fact, it times out after 300 seconds, but is only about half done at that point. So I tried using set_time_limit(0) to no avail (php is *not* running in safe mode). So next I tried this directive in the apache config file: php_value

[PHP] Script timeout with set_time_limit(0);

2001-05-17 Thread JFL
When I start a script like this : $fp = fsockopen($host, $port, $errno, $errstr, 30); if ($fp) { $fputs_str = GET .$path. HTTP/1.1\r\n; $fputs_str .= Host: .$host.\r\n; $fputs_str .= \r\n; fputs($fp, $fputs_str); fclose($fp); } The script will run for some time. But

Re: [PHP] Script timeout with set_time_limit(0);

2001-05-17 Thread Plutarck
Try setting the timeout to some high setting, beyond how long you need it to run. Often PHP just won't run for a really long time, for reasons I don't know. It just occassionally decides it's done, but I know it can go for longer than 3 days (phpIRC often lives that long and longer) so that