Skip to content

Instantly share code, notes, and snippets.

@mohammadkhoeini
Last active October 31, 2020 14:39
Show Gist options
  • Save mohammadkhoeini/5781f74fac7c6aab81ef173f994d958c to your computer and use it in GitHub Desktop.
Save mohammadkhoeini/5781f74fac7c6aab81ef173f994d958c to your computer and use it in GitHub Desktop.
Put these in top of .htaccess file in Located in Root of wordpress folder
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 2048m
php_value max_execution_time 300
php_value max_input_time 300
config.php
@ini_set( 'upload_max_size' , '20M' );
@ini_set( 'post_max_size', '13M');
@ini_set( 'memory_limit', '15M' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment