You are here: Home » All WordPress Tutorials » How to increase file upload size – memory limit – execution time in WordPress?

How to increase file upload size – memory limit – execution time in WordPress?

by WPTutorials101

1. php.ini codes
upload_max_filesize = 256M
post_max_size = 256M
memory_limit = 256M
file_uploads = On
upload_max_filesize = 128M
max_execution_time = 300
max_allowed_packet_size = 524288000

2. .htaccess codes
php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 128M
php_value upload_max_filesize 128M
php_value memory_limit 256M

3. wp-config.php code
define( ‘WP_MEMORY_LIMIT’, ‘128M’ );

* ওয়েবসাইট ডেভেলপমেন্ট

Buy Primum theme ang plugin cheap ratre : 01626722698 whats app

ওয়েবসাইট ডেভেলপমেন্ট এবং fREELANCHING সাহায্য পেতে ফোন করুনঃ
01626722698 (WhatsApp)

Inquiries :

Often time you’ll see some common error messages in WordPress. Specially when you’ll work with premium themes & plugins. By default your web hosting server configuration will not be perfectly suitable to work with premium themes & plugins. That’s why you need to configure your web hosting server with some basic settings.

In this WordPress Bangla tutorial, I’ll show you how you could solve those commons problem. Some common problems are: not having proper memory limit, less execution time & less file upload size. By default they are setup with low values but you need to increase them in order to setup your themes & plugins properly. After watching this tutorial you’ll be able to fix them by yourself. Best of luck!

Related Videos