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.

config php to allow per domain ini files

Discussion in 'EasyApache' started by durangod, Oct 1, 2016.

Tags:
  1. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Hi, i found a few things but they are old and the menu items have changed here. I dont want to mess with suPHP and that stuff i just want to be able to do ini files per domain.

    Is there an easy way to do this in the new WHM?

    thanks :)
     
  2. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Thanks for the link ill check it out
     
  3. durangod

    durangod Well-Known Member

    Joined:
    May 12, 2012
    Messages:
    251
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Im sorry but im very confused, i dont have suPHP and im not using CGI for php and i dont want to install them because then i have to turn them off and on per site and also they are a pain to install and manage. I just want a php ini file per cpanel account (or per domain) if either is possible. I dont mind having numerous cpanel accounts if i have to. But that link just confuses me.

    How can i do this without installing suPHP or any other handler?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello @durangod,

    Could you confirm if you are using the DSO handler? You can check with a command such as:

    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current
    If so, the system only uses the values that the /opt/cpanel/ea-php##/root/etc/php.ini file or the .ini files in the /opt/cpanel/ea-php##/root/etc/php.d/ directory specify (ref: documentation).

    DSO allows you to use Apache directives in the .htaccess files of individual directories (for example, the php_value and php_admin_value directives).

    Thank you.
     
Loading...

Share This Page