|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-09 23:20 UTC] degeberg@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
Description: ------------ ini_set() doesnt work with safe_mode Reproduce code: --------------- --- From manual page: features.safe-mode.functions --- echo ini_get('safe_mode')."<br>\n"; var_dump(ini_set('memory_limit', '64M')); //output //0 //string(3) "40M" 64M //change safe_mode to On //and new output is //1 //bool(false) 40M Expected result: ---------------- ini_set() in list: http://cz.php.net/manual/en/features.safe-mode.functions.php or working ini_set() with safe_mode Actual result: -------------- see reproduce code