ay timeout)
The above was also posted here:
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
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 t
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
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 H
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-c
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 retur
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
some
: [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
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 t
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
i
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
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, Be
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
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 gener
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
Well just to follow up, Apache was the culprit. There is an Apache
timeout directive that was set to 300 s that I somehow missed on my
first glance.
The things that timeout, as far as I know, are PHP, Apache, and several
commands within PHP (such as fsockopen()). The Apache directive is
cal
>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 time
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 w
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 thi
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 max_exe
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 proba
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
22 matches
Mail list logo