[PHP-DEV] Bug #9836 Updated: php unexpectedly ends on too long scripts From: sniper <email protected>
Date: 04/19/01

ID: 9836
Updated by: sniper
Reported By: jack <email protected>
Status: Feedback
Bug Type: Scripting Engine problem
PHP Version: 4.0.4pl1
Assigned To:
Comments:

Does this happen with latest CVS from http://snaps.php.net/ ?

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2001-03-19 13:57:54] sniper <email protected>
With that limited information you gave in the first
comments I couldn't know that.

Ok, so it doesn't crash? Just stops?
Computer generated scripts? How big?
And what do they do?

Could you check that it doesn't crash, ie. run the php
script which 'ends' within gdb:

# gdb php
(gdb) run -f thisscriptendstoosoon.php

--Jani

---------------------------------------------------------------------------

[2001-03-19 12:13:53] jack <email protected>
I know of time limit, smart guy.

But I don't have it set to 1 sec -- that is approximately the time in which php terminates.

(I hope you mark this problem as closed now -- THAT YOU'VE SOLVED IT).

Damn.

---------------------------------------------------------------------------

[2001-03-19 11:55:37] sniper <email protected>
RTFM:

http://www.php.net/manual/en/function.set-time-limit.php

---------------------------------------------------------------------------

[2001-03-19 08:35:04] jack <email protected>
we have some long computer generated scripts on our system. when we run such a long script, php suddenly ends without producing any output and reports exit status 1.

I think php exits while parsing the script.

(I can provide an example of such script on demand)

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9836&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>