Knowledgebase: Cpanel Control Panel > PHP
How do I enable custom php.ini setting for all folders in a suphp enabled server?
Posted by - NA -, Last modified by on 18 March 2010 03:32 AM

If you are setting up custom php settings, the custom php.ini file will be required in a folder where the php script needs to execute. Or you can place php.ini in the public_html folder and have this directive in public_html/.htaccess.

______________________

suPHP_ConfigPath /home/username/public_html
______________________

where username is your cpanel account username. It will pick the php.ini from the public_html folder wherever the php script is executed.





(653 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).