Support Central » Knowledgebase » Knowledgebase Article Not logged in. Login
 
Announcements

Knowledge Base

Submit a Ticket

Client Login
Article » [How To] Create or edit a php.ini file

Rating:
Was this article helpful? YES NO MODERATELY
Views: 2374
Printable Version


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-base/how-load-php-ini-recursively-all-subfolders-2581.html

Follow-up and discuss this topic in our forums
Help Desk Powered By ProSupport v0.9.1