How to create a custom recursive php.ini file?

Post Reply
gautham
Posts: 14
Joined: Sun Jul 01, 2012 10:32 am

How to create a custom recursive php.ini file?

Post 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
Gautham G
WebhostingDevelopment.com
Post Reply

Return to “Custom php.ini”