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!

SOLVED MultiPHP INI editor saves configuration in 3 files? .htacces / .user.ini / php.ini

Discussion in 'EasyApache' started by Gino Viroli, May 20, 2018.

  1. Gino Viroli

    Gino Viroli Well-Known Member

    Joined:
    Oct 2, 2007
    Messages:
    47
    Likes Received:
    1
    Trophy Points:
    58
    Each time I play with MultiPHP INI editor on my cPanel account it saves my php configuration three times:
    1. in a local .htaccess file by using php5_module directives
    2. in a local .user.ini file by using the classic PHP directives
    3. in a local php.ini file by using the classic PHP directives
    On my cPanel account only the .user.ini seems to be used, and the other two ignored. I tested it by deleting the php.ini file and the directives in the .htaccess file.

    Is there a reason why MultiPHP INI editor saves the configuration in 3 files?

    Because redundancy of configurations is never a clever idea!

    Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,792
    Likes Received:
    83
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,
    This may have been still there to prevent unwanted overwrites from the user in php.ini.. .htaccess on the other hand will only contain the handler information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,740
    Likes Received:
    1,796
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Gino Viroli likes this.
  4. Gino Viroli

    Gino Viroli Well-Known Member

    Joined:
    Oct 2, 2007
    Messages:
    47
    Likes Received:
    1
    Trophy Points:
    58
    Ok, I thought that might be for this reason.
     
    cPanelMichael likes this.
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