How to Increase the Maximum file upload size, post max size, PHP memory limit in WordPress - WP Tips.
Tutorial by: https://www.fiverr.com/wpspecialist24
How to Increase the upload_max_filesize, post_max_size - memory_limit on Godday, Hostgator, Bluehost, site ground host etc?
Still, your post_max_size showed 2MB and Upload_max_size shown 2MB. You are not able to upload up to 10MB files in your website or getting the fatal errors. Also, Wordpress asked you to increase upload file size & post size or memory limit.
In this video, I am showing you to increase upload file size, post size, memory limit to use Various methods.
Methode 1: USE Cpanel Php config software ( like this video)
1:12 First step. At first log in your CPanel and scroll down to SOFTWARE SECTION.
1:18 2nd. Click Select PHP version then update 5.6 or Greater PHP version.
1:38 3rd. Then click Switch to php option and update those access.(see video)
memory_limit = 256MB
post_max_size = 64MB
upload_max_size = 64MB
Then click save and enjoy.
Method 2: Use php.ini
In some cases, if you are using shared host then you will not see a php.ini file in your root directory. If you don't see this, then create a file called php.ini and upload it in the root directory. Edit the php.ini file and add following code. Don't forget to click save button.
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
See the Video as php.ini tutorial : • How to fix the uploaded file exceeds the u...
Method 3: Theme Function (Use below code to function.php file)
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );
Method 4: Use .HTACCESS file
Edit .htaccess file & add following code on first line
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Methode 5: Increase PHP MEMORY LIMIT To us wp-config.php file
Edit wp-config.php file add below code
define( 'WP_MEMORY_LIMIT', '256M' );
Findout the code
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
Then put the code look like
define('DB_COLLATE', '');
define( 'WP_MEMORY_LIMIT', '256M' );
................................................................................................................
"post_max_size" / "upload_max_filesize" / "memory_limit 256 mb" /
"post size 64 mb" / "upload file size 64mb" / "Fix fatal error" File exceeds the upload max size"/ "wordpress maximum file upload" / "htaccess" / "php.ini"
..............................................................................................................
#How to increase the maximum file upload size 64mb in
Wordpress ?
#How to update PHP Memory Limit?
#How to increase Memory limit using PHP configuration?
#How to configure php.ini?
#How to increase post max size?
#how to change WordPress upload max file size
#Wordpress Error The uploaded file exceeds the upload_max_filesize.
#A Quick Fix for shared hosting using .user.ini method
................................................................................................................
If you think this video was very helpful for you then don't forget to subscribe my channel.
/ @rakhibulhasan24
Facebook: / wpspecialist24
If you have any query then feel free comment in this video
• How to Increase the Maximum file upload si...