|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-01 13:31 UTC] edink@php.net
[2006-03-14 15:20 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
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