Knowledgebase
Portal Home > Knowledgebase > Apache / PHP Issues > How Do I Change PHP Setting X?
How Do I Change PHP Setting X?
| How do I change PHP setting x?
Easy: First create a blank text file called php.ini (assuming one doesn't already exist in your public_html folder)
Then put in each setting you want to change one line at a time.
For example: If you want to turn off register_globals you would put: register_globals = Off
If you wanted to change upload_max_filesize you would put: upload_max_filesize = 20M
(or whatever # in MB you wanted the max upload to be)
Once you have the options you want in the file, just be sure to put it in the public_html directory (or deeper), and that's all you need to do.
|
Add to Favourites
Print this Article
|
Also Read
500 Error (Views: 30)
Powered by WHMCompleteSolution