I have increased upload size limit in php.ini , but does not take effect in wordpress .still showing error.
--------------------------------------------------------------------------------------------
You are using the multi-file uploader. Problems?Try the browser uploader instead.
Maximum upload file size : 8 MB
--------------------------------------------------------------------------------------------
I want to increase upload size to 64 Mb
here is my details in php.ini
upload_max_filesize = 64M
post_max_size = 32M
memory_limit = 15M
How to Increase the WordPress Upload Size Limit
Moderator: Staff
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
-
- Posts: 0
- Joined: Wed Sep 28, 2016 10:50 am
Re: How to Increase the WordPress Upload Size Limit
Hi stark,
Please make sure if there any values already set on wp-config.php file. There is an alternative option to set PHP limit for WordPress accounts.
You can add PHP limits for your WordPress account by adding the following code to the wp-config.php file:
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '32M');
@ini_set( 'memory_limit', '15M' );
Also take a look at your root directory and see if there is an .htaccess file there. If there is you can edit that file to add the necessary code for increasing the upload limit.
php_value upload_max_filesize 12M
php_value post_max_size 13M
php_value memory_limit 15M
Regards
John
Please make sure if there any values already set on wp-config.php file. There is an alternative option to set PHP limit for WordPress accounts.
You can add PHP limits for your WordPress account by adding the following code to the wp-config.php file:
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '32M');
@ini_set( 'memory_limit', '15M' );
Also take a look at your root directory and see if there is an .htaccess file there. If there is you can edit that file to add the necessary code for increasing the upload limit.
php_value upload_max_filesize 12M
php_value post_max_size 13M
php_value memory_limit 15M
Regards
John