Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Add question

You must login to ask question.

Login

Register Now

Register now and start to ask your questions or share your knowledge with your community and friends with answering their questions. Earn points for trustability.

Increasing Max Execution Time or Maximum Upload File Size in WordPress

To increase the Max Execution Time or Maximum Upload File Size in WordPress.

1. Update wp-config.php file

@ini_set( 'upload_max_filesize' , '512M' );
@ini_set( 'post_max_size', '256M');
@ini_set( 'memory_limit', '512M' );
@ini_set( 'max_execution_time', '600' );
@ini_set( 'max_input_time', '300' );

2. Update .htaccess file

php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300

Change the numbers to the values that you need. The max execution time and max input time values are in seconds and might need to be increased further if your internet connection is slow.

3. Use plugin

There are free plugins which you can make the changes on from your admin panel after installing any.

4. Contact hosting provider

Reach over to the customer support of your hosting provider and ask them to increase these limits for you.

 

 

>> another ref. 

About Floridify TeamProfessional Badge


Follow Me

Leave a reply