How you can use php.ini on shared hosting

In this tutorial I will explain to you how you can use php.ini file on shared hosting. I'm using this way on Namecheap's hosting and it works well.

Open your htaccess file and add this code:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html

Next, in your public_html or www folder create a new php.ini file!

In this way you will be able to use the php.ini on shared hosting.

Leave a Comment