Hi
When I try to do a Four Plugin install it a time and just backup of my site and run my site I have the next Error
fatal error: allowed memory size of 268435456 bytes exhausted
In your php.ini file, you can increase the memory limit, like so:
memory_limit =512M
/* Improve PHP configuration to prevent issues */
ini_set('upload_max_filesize', '100M');
ini_set('default_charset', 'utf-8');
ini_set('magic_quotes_runtime', 0);
ini_set('memory_limit','256M');
ini_set('max_execution_time', 3600);
public_html/wp-includes/default-constant.php
if ( !defined('WP_MEMORY_LIMIT') ) {
if ( is_multisite() ) {
define('WP_MEMORY_LIMIT', '64M');
} else {
define('WP_MEMORY_LIMIT', '40M');
}
}
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
}
When I try to do a Four Plugin install it a time and just backup of my site and run my site I have the next Error
fatal error: allowed memory size of 268435456 bytes exhausted
In your php.ini file, you can increase the memory limit, like so:
memory_limit =512M
/* Improve PHP configuration to prevent issues */
ini_set('upload_max_filesize', '100M');
ini_set('default_charset', 'utf-8');
ini_set('magic_quotes_runtime', 0);
ini_set('memory_limit','256M');
ini_set('max_execution_time', 3600);
public_html/wp-includes/default-constant.php
if ( !defined('WP_MEMORY_LIMIT') ) {
if ( is_multisite() ) {
define('WP_MEMORY_LIMIT', '64M');
} else {
define('WP_MEMORY_LIMIT', '40M');
}
}
if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) {
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
}