ID: 9836
Updated by: [EMAIL PROTECTED]
-Summary: php unexpectedly ends on too long scripts
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 4.1.0
New Comment:
in 4.2.0rc1 it runs. even when I use very small memory limit, it still
runs (and happily eats memory). does that mean that memory limit is now
not honoured during compilation of script? (not that I think it is a
bug, it could be called feature as well, I'm just curious :)
Previous Comments:
------------------------------------------------------------------------
[2002-03-26 03:20:33] [EMAIL PROTECTED]
I could not reproduce this with 4.2.0rc1. Can you please try this
(www.php.net/~derick).
regards,
Derick
------------------------------------------------------------------------
[2002-03-13 18:48:59] [EMAIL PROTECTED]
These two pages are great examples:
www.svenskamagic.com/index.php
www.svenskamagic.com/club_login.php
Reload the pages a couple of times and you'll notice the problem.
www.svenskamagic.com/phpinfo.php might be useful.
------------------------------------------------------------------------
[2002-03-13 18:46:31] [EMAIL PROTECTED]
I'm experiencing a similar problem on a server I use. When we upgraded
to apache 1.3.22 and php 4.1.x from 4.0.x, output sometimes(!) stops on
some pages. Not all pages, and not always! We have no idea what the
problem is, the output just stops. Any ideas?
------------------------------------------------------------------------
[2002-03-05 09:44:36] [EMAIL PROTECTED]
okay. I think I described the problem well enough but I don't want
this bug closed just for 'lack of user feedback'. So do this:
create any long script. an easy (though somewhat slow) way to do this
is:
#!/bin/zsh
echo 'see this' >| test.php
for i in {1..100000}; do
echo '<? echo "...and this\\n"; ?>' >>| test.php
done
now you put 'memory_limit = 50000000' to your php.ini
run
$ php test.php
you'll get a lot of output
now change memory limit to smaller value, let's say 8000000.
$ php test.php
(failed with error code 1)
no warning given although 'error_reporting=E_ALL' in php.ini
------------------------------------------------------------------------
[2002-03-02 21:59:17] [EMAIL PROTECTED]
Will you please provide a link to a website containing this sample
script?
Also will you share your php.ini file with us so we might debug this
further? What about your config line?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/9836
--
Edit this bug report at http://bugs.php.net/?id=9836&edit=1