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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How-to disable users php.ini and user.ini files

Discussion in 'EasyApache' started by mindnetcombr, Aug 24, 2017.

Tags:
  1. mindnetcombr

    mindnetcombr Active Member

    Joined:
    Sep 16, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    156
    Hello

    EA4, users sometimes upload php.ini and user.ini - and cause issues.

    How to disable server wide the users php.ini and user.ini ?

    Using SUPHP.

    Thank
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,371
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Those files are generated automatically as part of the MultiPHP INI Editor functionality. This allows customers to edit their PHP configuration options while ensuring the changes remain applied if the PHP handler changes in the future. You can disable the "MultiPHP INI Editor" feature in "WHM >> Feature Manager" for the feature lists associated with your accounts if you want to prevent customers from making those changes. Additionally, if you want to prevent custom user.ini files from working, you may find this third-party URL helpful:

    How to disable custom user.ini files in public_html for Easyapache 4 - Bobcares

    Note there's a slight change to this behavior once you upgrade to cPanel version 66:

    Thank you.
     
Loading...

Share This Page