Skip to content

Commit

Permalink
Remove PHP memory limit because it can cause issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecaddd committed Feb 15, 2019
1 parent 37822d2 commit 9994e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
9 changes: 1 addition & 8 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,8 @@ WP_POST_REVISIONS=5

EMPTY_TRASH_DAYS=7

###############################
# PHP configuration
###############################

WP_MEMORY_LIMIT=64M

###############################
# Plugins configuration
###############################

WPCF7_AUTOP=false
FS_METHOD="direct"
WPCF7_AUTOP=false
10 changes: 1 addition & 9 deletions wp-config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
define( 'WP_DEBUG', getenv( 'APP_ENV' ) === 'development' ? true : false );
define( 'JETPACK_DEV_DEBUG', getenv( 'APP_ENV' ) === 'development' ? true : false );
define( 'WPCF7_AUTOP', getenv( 'WPCF7_AUTOP' ) );
define( 'FS_METHOD', getenv( 'FS_METHOD' ) );
define( 'FS_METHOD', 'direct' );

/**
* Define home and site url
Expand All @@ -121,14 +121,6 @@

define( 'EMPTY_TRASH_DAYS', getenv( 'EMPTY_TRASH_DAYS' ) );

/**
* Increase PHP memory limit
*
* This might not work for some hosting providers
*/

define( 'WP_MEMORY_LIMIT', getenv( 'WP_MEMORY_LIMIT' ) );

/* That's all, stop editing! Happy blogging. */

/* Absolute path to the WordPress directory. */
Expand Down

0 comments on commit 9994e81

Please sign in to comment.