aingeal

Member
PartnerNOC
Dec 12, 2007
7
0
51
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.