How to load php.ini recursively for all subfolders

If you would like to load your local php.ini file recursively for all your subfolders, you just need to add the following line to your .htaccess file inside the folder where you would like to apply the recursion:

Code:

SuPHP_ConfigPath /home/username/public_html/php.ini


The above assumes that you are going to replace "username" with your actual cpanel username and that your php.ini file lives inside of public_html.

 

Keywords: recursion, recursive, php, php.ini

  • 88 Users Found This Useful
Was this answer helpful?

Related Articles

How do I access my Hosting / Email Control Panel?

To access your Hosting / Email Control Panel do the following:FOR CPANEL ACCOUNTS Open a Web...

how to password protect directories

Password Protect Directories allows you to protect a folder by requiring users to enter a...

How your site works

Your website is made up of a group of files and directories, much like your Documents folder on...

Uploading Files to your site

For your visitors to be able to visit your site, you will need to add some files to it. You can...

How to upload content using Microsoft Publisher?

Open Microsoft Publisher and go to File -> Publish to the web. First you would have to set...