您好,我用wordpress使用avada主题,环境是安装oneinstack, 主题后台提示:
WP Memory Limit:40 MB - We recommend setting memory to at least 128MB.
To import classic demo data, 256MB of memory limit is required.
Please define memory limit in wp-config.php file. To learn how, see: Increasing memory allocated to PHP.
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
然后我在wp-config.php文件的最后处加了如下:
/** Increase PHP Memory to 128MB. */
define( 'WP_MEMORY_LIMIT', '128M' );
重启服务器后,我发现主题后台仍然提示如上内容,是不是oneinstack的其他地方也要修改某参数呢? 我上面加的应该没有问题吧?