PHP :: Bug #36568 :: memory_limit has no effect
[2006-03-01 12:39 UTC] dmitry@php.net
Description:
------------
On windows "memory_limit" setting in php.ini has no effect.
It is because of separate config file zend_config.w32.h that is not include "main/config.w32.h". The macro MEMORY_LIMIT is defined in "main/config.w32.h" and is not visible during compilation of "zend_alloc.c".
Reproduce code:
---------------
<?php
ini_set("memory_limit", "32M");
echo ini_get("memory_limit");
?>
Expected result:
----------------
32M
Actual result:
--------------
8M