Bug #9836 Updated: php unexpectedly ends on too long scripts
| From: | sniper@php.net | Date: | Thu, 13 Jun 2002 18:12:23 +0000 |
| Subject: | Bug #9836 Updated: php unexpectedly ends on too long scripts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10370@lists.php.net to get a copy of this message | ||
ID: 9836
Updated by: sniper@php.net
Reported By: jack@mobil.cz
-Status: Open
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 4.1.0
New Comment:
If it works -> closed. (if you want a detailed explanation about this,
ask Zeev :)
Previous Comments:
------------------------------------------------------------------------
[2002-03-29 12:20:02] jack@mobil.cz
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 :)
------------------------------------------------------------------------
[2002-03-26 03:20:33] derick@php.net
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] fabian@ahrberg.se
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] fabian@ahrberg.se
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] jack@mobil.cz
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
------------------------------------------------------------------------
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