Setting memory_limit fails
| From: | Peter Rendl | Date: | Wed, 07 Jul 2004 10:24:55 +0000 |
| Subject: | Setting memory_limit fails | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10941@lists.php.net to get a copy of this message | ||
Hello all,
I just fetched the latest php5 package for win32 from snaps.php.net (Built On: Jul 07, 2004 06:30 GMT).
It seems like the ini-setting for memory_limit is ignored and the default of 8MB is used instead. This also causes installation of PEAR to fail and probably affects bug #29023.
To reproduce:
php -n -d memory_limit=32M -r "$foo = ini_get('memory_limit'); var_dump($foo);"
string(2) "8M"
I just wanted to clarify that this is not my mistake, before posting a bug report.
Best regards,
Peter