solved: Fatal error: Allowed memory size of 33554432 bytes exhausted
作者: 2hei 发表于2010年10月20日 21:52 版权声明: 可以转载, 转载时务必以超链形式标明文章原始出处和作者信息及版权声明
http://www.2hei.net/mt/2010/10/fatal-error-allowed-memory-size.html
wordpress2.8
wp-settings.php
change
define('WP_MEMORY_LIMIT', '32M');
to:
define('WP_MEMORY_LIMIT', '64M');
wordpress3.0
wp-config.php
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
add:
//allow memory size
define('WP_MEMORY_LIMIT', '64M');
wp-settings.php
change
define('WP_MEMORY_LIMIT', '32M');
to:
define('WP_MEMORY_LIMIT', '64M');
wordpress3.0
wp-config.php
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
add:
//allow memory size
define('WP_MEMORY_LIMIT', '64M');





发表一个评论