Increasing upload_max_filesize

If you are using a CMS you may have found that you can't upload larger files because of the default upload_max_filesize set in PHP globally.

You can override this by creating a php.ini in your public_html directory containing the following information:

upload_max_filesize = 10M

This will increase it to 10MB for your account.

Was this answer helpful?

 Print this Article

Also Read

PHP4 and PHP5

When we made the decision to install PHP5 we were made aware of a large number of scripts that...

Processing HTML files with PHP

If you want to add PHP commands to your HTML pages and don't wish to change the file extensions...

Deprecated warnings in PHP5

If you've recently moved servers from a server where PHP4 was the default to a server where...

Turning magic quotes off

A lot of software now is requiring that "magic quotes" be switched off as it presents a security...