Skip to content

Instantly share code, notes, and snippets.

@barbwiredmedia
Forked from andornagy/.htaccess
Last active July 6, 2018 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save barbwiredmedia/2ce7e99468b821449283 to your computer and use it in GitHub Desktop.
Save barbwiredmedia/2ce7e99468b821449283 to your computer and use it in GitHub Desktop.
Increase memory limits. / Increase upload size wordpress , ini
php_value memory_limit 64M
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
upload_max_filesize = 64M
memory_limit = 64M
post_max_size = 64M
#file_uploads = On
<?php
define('WP_MEMORY_LIMIT', '64M');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment