How to increase Maximum Upload size in cPanel?
On cpanel -> software and services -> Select PHP Version.
Choose a PHP version which not the native one (I recommend php 5.6 or last one) and you will have / see a new link "Switch To PHP Settings", click it, in PHP Settings you can set upload_max_filesize in last line , clicking on value ( default is 2M ) , and you got a dropbox with values that you can set to upload_max_filesize, and click save .
Unfortunately, this is something you will have to ask you provider to do.
If your the owner of the server and can login to WHM it's under:
Tweak Settings => PHP Settings => Maximum Upload Size
Newer version have it listed under:
Home => Service Configuration => PHP Configuration Editor => Tweak Settings => PHP
We can increase maximum upload file size for WordPress media uploads in 3 different ways.
That's are
- .htaccess way
- PHP.INI file method
- Theme’s Functions.php File
For .htaccess way, add following code,
php_value upload_max_filesize 1024Mphp_value post_max_size 1024Mphp_value max_execution_time 1000php_value max_input_time 1000
for PHP.INI file method, add following code,
upload_max_filesize = 1024Mpost_max_size = 1024Mmax_execution_time = 1000
for Theme’s Functions.php File, add following code,
@ini_set( ‘upload_max_size’ , ’1024M’ );@ini_set( ‘post_max_size’, ’1024M’);@ini_set( ‘max_execution_time’, ’1000′ );