Increasing maximum file size upload limit in WordPress

1. add this in the .htaccess file of your server
php_value memory_limit 128M
php_value post_max_size 128M
php_value upload_max_filesize 128M
php_value max_execution_time 1800

2. add thiss to wp-config.php

define(‘WP_MEMORY_LIMIT’, ’64M’);
3. create a text file, call it php.ini and put this text in it:
upload_max_filesize = 64M
post_max_size = 64M

then upload it in the wordpress root folder

Leave A Comment?

You must be logged in to post a comment.