Changing Maximum Upload Size

Firts check your control panel for the "PHP Options" icon. If available you can change the PHP version and change the PHP configuration in this area.
Upload limits may be changed via the "Switch to PHP Options" link.

If the icon is not available in your control panel you will need to create a php.ini file in the directory that is used by the application and uploading and include the following values...

LimitRequestBody = 0
php_value upload_max_filesize = 12M
php_value post_max_size = 12M

Change 12M to 24M for example. Higher will cause your php load to go up and may flag your account so be careful with this setting.

==
If the above doesn't work please try the following...
edit the .htaccess file in your public_html folder and add the following code...
php_value upload_max_filesize 12M
php_value post_max_size 12M

If the .htaccess file does not exist already you may create a blank file named .htaccess and add the code.

Share this page:


Was this article useful? Have any suggestions or improvements to the information?

Also Read

How can I run PHP5?

PHP5 is now the default PHP ran on our servers. Nothing further is required.

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on x.x.x.x on port 3306 (10060)

Please ensure you have added the remote IP to the allow list in your hosting control panel...

HTTP Authentication error in PHP

Issues with HTTP Authentication error in PHP. Variables $_SERVER['PHP_AUTH_USER'] and...

How do I add a user to a MariaDB & MySQL database?

In the MariaDB / MySQL Database section of your hosting control panel, after creating a database...

Useful CSV to MySQL Script

Provided below is a great tool we have run into for converting CSV files into MySQL format: CSV...