Skip to content

Instantly share code, notes, and snippets.

@emranweb
Created November 23, 2018 04:34
Show Gist options
  • Save emranweb/ca4c111bc809ceb14277351bbed0ba56 to your computer and use it in GitHub Desktop.
Save emranweb/ca4c111bc809ceb14277351bbed0ba56 to your computer and use it in GitHub Desktop.
WP First Time Setup Config
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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment