Results 1 to 1 of 1

Thread: [How To] Create or edit a php.ini file

  1. #1
    AndrewGlow's Avatar
    AndrewGlow is offline Customer Care
    Join Date
    Sep 2009

    Default [How To] Create or edit a php.ini file


    Here's info regarding how to create and edit php.ini file.

    1. Enter your cPanel account and press on "File Manager"

    2. Click "Go".

    3. Go to folder you that contains your scripts or stay in public_html folder if you want to apply rule for all scripts, not specific. Click on "New File" and enter "php.ini" as filename.

    4. After file is created (or if it already existed) choose it in file list and click on "Edit".

    5. Simply agree.

    6. Enter needed rules and press "Save Changes".

    Please note, that php.ini file works only for scripts that are located in same folder. If you create php.ini file in folder "one" and your scripts are in folder "two" located under "one", this won't work.

    If you want your php.ini file to work for all scripts in all sub-folders, please check this thread:

    [How To] Load php.ini recursively for all subfolders
    Attached Thumbnails Attached Thumbnails p1.png   ht1.png   2.png   p3.png   p4a.png  

    Last edited by Matt; 01-23-2011 at 03:30 PM.
    Have no fear,
    GlowHost is Here!

Similar Threads

  1. [How To] Create or edit the .htaccess file
    By AndrewGlow in forum Knowledge Base
    Replies: 0
    Last Post: 01-23-2011, 08:51 AM
  2. 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
  3. [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 15