Results 1 to 2 of 2

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

  1. #1
    sergey is offline Master Glow Jedi
    Join Date
    Aug 2005
    Posts
    472

    Default [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.

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

    Keywords: recursion, recursive, php, php.ini
    Last edited by Matt; 01-28-2012 at 02:28 PM.

  2. #2
    Brian Wallace is offline Newbie
    Join Date
    Jul 2011
    Posts
    1

    Thumbs up

    Thank You sooooo, much!!!! For_real.
    Had my own server for so long, never had to do things like this before....lol It's a learning experience to say the least. ( well, sorta )

    Oh, have to remember where default php.ini is I guess. Lost some settings after doing this ( ioncube loaders ) I'm sure I have to just add it to the new php.ini file though . Thanks
    Last edited by Brian Wallace; 07-16-2011 at 02:59 PM. Reason: follow-up


Similar Threads

  1. php.ini - What is the best way to create a php.ini
    By salmon in forum General Support
    Replies: 1
    Last Post: 08-05-2010, 08:26 AM
  2. [HOW To] Edit the global php.ini file in Mac OSX
    By Matt in forum Knowledge Base
    Replies: 9
    Last Post: 11-19-2009, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14