Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2005
    Thanked 0 Times in 0 Posts

    How to forbid ini_set() in code?

    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 ??

  • #2
    Super Moderator
    Join Date
    May 2002
    Perth Australia
    Thanked 101 Times in 99 Posts
    in php.ini

    disable_functions = ini_set
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts