Last active
December 26, 2015 17:09
-
-
Save ejntaylor/7185533 to your computer and use it in GitHub Desktop.
Template essentials
This file contains 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
; Template Essentials - Add to / create php.ini in /wp-admin/ | |
upload_max_filesize = 64M | |
post_max_size = 64M | |
max_execution_time = 300 | |
memory_limit = 256M |
This file contains 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
/** | |
* raison amends - live site | |
* ------------------------- | |
*/ | |
/* increase memory */ | |
define( 'WP_MEMORY_LIMIT', '128M' ); |
This file contains 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
/** | |
* raison amends - staging site | |
* ----------------------------- | |
*/ | |
/* increase memory */ | |
define( 'WP_MEMORY_LIMIT', '128M' ); | |
/** | |
* For developers: WordPress debugging mode. | |
* | |
* Change this to true to enable the display of notices during development. | |
* It is strongly recommended that plugin and theme developers use WP_DEBUG | |
* in their development environments. | |
*/ | |
@ini_set('log_errors','On'); | |
@ini_set('display_errors','Off'); | |
@ini_set('error_log','/home/rstage/two/php_error.log'); | |
/** | |
* This will log all errors notices and warnings to a file called debug.log in | |
* wp-content (if Apache does not have write permission, you may need to create | |
* the file first and set the appropriate permissions (i.e. use 666) ) | |
*/ | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); | |
define('WP_DEBUG_DISPLAY', false); | |
@ini_set('display_errors',0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment