[How To] Load php.ini recursively for all subfolders

Rating: 2.6/5
Views: 2172


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:

__________________________________________
SuPHP_ConfigPath /home/username/public_html/php.ini <hr>
__________________________________________

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.

http://forums.glowhost.com/knowledge-base/how-create-edit-htaccess-file-2589.html

Keywords: recursion, recursive, php, php.ini

Follow-up and discuss this topic in our forums


Output generated by ProSupport
Copyright © 2024 ProPanelSystems.com - ProSupport v0.9.1 Rev. 1