...

View Full Version : How to forbid ini_set() in code?



TaoGizmo
01-12-2006, 11:33 AM
Hi.
I have a problem. I have got zended script that eats all memory and because of that dont work properly.

In apache error logs i see this:
Allowed memory size of 31457280 bytes exhausted (tried to allocate 199 bytes).

See it eats 32Mb and dies but in php.ini i have set memory limit double higher than 32.

I am depressed :( i cant correct code because it is in Zend (god damn zend).
So is there a way to disable ini overrride within code of script.
you know something like disable_ini_ovverride = on in php.ini ??

firepages
01-12-2006, 04:58 PM
in php.ini

disable_functions = ini_set



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum