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

Rating: 2.8/5
Views: 2380


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


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