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.

PHPINIDir, new vhosts, and mod_ruid2

Discussion in 'General Discussion' started by aingeal, Nov 10, 2013.

  1. aingeal

    aingeal Member
    PartnerNOC

    Joined:
    Dec 12, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ann Arbor, Michigan
    I'm trying to figure out how to add something that would setup the following

    PHPINIDir /home/user/public_html/path/to/custom/php.ini-location

    when a account is created, or the user adds a new domain/subdomain. So that users can have custom php.ini files as we are looking to switch from a suphp default to mod_ruid2 w/apc default. I'm not even sure if its possible to be done or what file to put it into.

    Any help would be greatly appreciated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Assuming you select the DSO handler with mod_ruid2, individual php.ini files are not allowed. Directives are set in the .htaccess file rather than using an account level php.ini file per the standard DSO behavior.

    Thank you.
     
Loading...
Similar Threads - PHPINIDir vhosts mod_ruid2
  1. mcpacific
    Replies:
    1
    Views:
    427

Share This Page