Results 1 to 1 of 1

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

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    AndrewGlow is offline Master Glow Jedi
    Join Date
    Sep 2009
    Posts
    1,232

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

    Hello,

    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:

    http://forums.glowhost.com/knowledge...ders-2581.html
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ht1.png 
Views:	19840 
Size:	34.2 KB 
ID:	178   Click image for larger version. 

Name:	p1.PNG 
Views:	19731 
Size:	30.6 KB 
ID:	179   Click image for larger version. 

Name:	2.PNG 
Views:	19645 
Size:	42.7 KB 
ID:	180   Click image for larger version. 

Name:	p3.PNG 
Views:	19547 
Size:	47.7 KB 
ID:	181   Click image for larger version. 

Name:	p4a.png 
Views:	19319 
Size:	16.8 KB 
ID:	182  

    Click image for larger version. 

Name:	p2a.png 
Views:	19347 
Size:	31.0 KB 
ID:	183  
    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