Knowledgebase
How Do I Change PHP Setting X?
Posted by Mike C. on 12 September 2009 12:21 AM
|
|
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. | |
|
Comments (0)