How do I change PHP Settings?

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).
  • 2 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

How do I increase the PHP Upload Limit?

To raise the PHP Upload Limit for your website simply do the following:Create a blank text file...

How do I increase the PHP Memory Limit?

Create  a blank text file called php.ini (if one doesn't already exist).Put the following...