Bug #52667 [NEW]: memory_limit ignored
| From: | j dot chetwynd at btinternet dot com | Date: | Sun, 22 Aug 2010 13:41:03 +0000 |
| Subject: | Bug #52667 [NEW]: memory_limit ignored | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153694@lists.php.net to get a copy of this message | ||
From:
Operating system: os x leopard
PHP version: 5.2.14
Package: PHP options/info functions
Bug Type: Bug
Bug description:memory_limit ignored
Description:
------------
php.ini:
memory_limit = 20 ; 20 Bytes not: Maximum amount of memory a script
may consume (128MB)
phpinfo:
memory_limit 20 20
seems clear to me at least that any web app on this server should crash, or
send error, but it does not:
ie like: Bug #52549: No 'M' in memory_limit variable returns 'Could not
startup.'
but app runs fine!
> memory-limit is always enabled (--enable-memory-limit removed)
> default value if memory-limit is set to 128M
http://bugs.php.net/42525
--
Edit bug report at http://bugs.php.net/bug.php?id=52667&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52667&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52667&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52667&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52667&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52667&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52667&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52667&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52667&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52667&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52667&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52667&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52667&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52667&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52667&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52667&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52667&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52667&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52667&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52667&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52667&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52667&r=mysqlcfg