Hi cPanellllllers,
i'm currently having a bit of grief trying to figure out what to do with custom php.ini files with suphp.
As you know already php.ini files don't stack, so if you use a custom php.ini file with only a few settings in it (eg memory_limit, register_globals) it will set these, but every non specified setting results back to defaults rather then what your global php.ini says they should be.
My questions are:
i'm currently having a bit of grief trying to figure out what to do with custom php.ini files with suphp.
As you know already php.ini files don't stack, so if you use a custom php.ini file with only a few settings in it (eg memory_limit, register_globals) it will set these, but every non specified setting results back to defaults rather then what your global php.ini says they should be.
My questions are:
- What do you guys/gals do to sort this out? do you put full copies of your php.ini in public_html directories and scramble to update them all every time you need to make a change, or do you do opt to use something other then suphp because of this problem?
- How do you enforce suhosin limits if the global php.ini file does not get read whenever a custom one is used? eg how do I put a celing on memory_limit if the global php.ini isnt being read?