Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php_admin_* directives in a phpSuExec environment

Discussion in 'General Discussion' started by split, Jan 31, 2006.

  1. split

    split Member

    Joined:
    Sep 30, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    Is there anyway to prevent users from modifying limits imposed by php.ini configuration in a phpSuExec configured PHP installation??

    For example in server with PHP running in a module, I use php_admin_* directives:

    php_admin_value memory_limit 40M

    And users can't modify them from .htaccess (php_value memory_limit 40M) or in a script: ini_set("memory_limit","40M").

    This doesnt work in a phpSuExec enviroment.. I can modify those limits with a php.ini file or with a script :-(

    Is there anyway to prevent this?? Thanks

    Regards,
    split.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice