How do I increase PHP Upload Limit?

If you are getting a message when trying to upload a Wordpress theme or other upload a large file via a PHP script

"The uploaded file exceeds the upload_max_filesize directive in php.ini."

Then you must log in to your Control Panel and increase your PHP Upload limit.

Set your upload limit from the Plugin "Select PHP Version" > "Show PHP Settings" then "upload_max_filesize". Try increasing the default value of 2M to 8M or more or to the amount you need specifically and that should resolve your problem.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Use PHP and MySQL

PHP is the most popular scripting language for web development. It is free, open-source and...

How to Select Individual Records

As well as showing the whole Database, PHP can be used to select individual records or records...

How to Connect to Your Database

You should establish a connection to the MySQL database. This is an extremely important step...

Creating a database table

Before you can do anything with your Database, you should create a table and set the...

Pear Modules

By default all AVHoster servers have the following Pear packages installed: Archive_Tar...