Last active
May 25, 2016 12:11
-
-
Save zzap/05561b39240dbda5ef19 to your computer and use it in GitHub Desktop.
WordPress - change maximum upload file size with .htaccess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
..... | |
</IfModule> | |
# END WordPress | |
# this is not working any more | |
# 500 internal error is being returned | |
php_value upload_max_filesize 64M | |
php_value post_max_size 200M | |
php_value memory_limit 3000M | |
php_value max_execution_time 180 | |
php_value max_input_time 180 | |
# instead, add to wp-settings.php file: | |
# ini_set( 'memory_limit', '512M' ); | |
# I hate this solution |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment