Portal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

Knowledgebase
You are here: Portal Home > Knowledgebase > PHP > 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.


Was this answer helpful?

Add to Favourites
Print this Article

Also Read
How do I increase the PHP Upload Limit? (Views: 180)
How do I use PHP5? (Views: 181)
Wildcard Subdomain hosting (Views: 193)
How do I increase the PHP Memory Limit? (Views: 190)
500 Error (Views: 193)

Powered by WHMCompleteSolution


Language: