Page 1 of 1

How to create a custom recursive php.ini file?

Posted: Sun Jul 01, 2012 12:29 pm
by gautham
Add the below line to the .htaccess file
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/username/public_html/php.ini
</IfModule>
Create a php.ini file in the above location and that will get effective under all the directories under that user.
vi /home/username/public_html/php.ini