WordPress找到:wp-settings.php  文件

editwpcf

然后增加

define('WP_MEMORY_LIMIT', '128M');
define('WP_MAX_MEMORY_LIMIT', '256M');
define("FS_METHOD","direct");
define("FS_CHMOD_DIR", 0777);
define("FS_CHMOD_FILE", 0777);
define('ALLOW_UNFILTERED_UPLOADS', true);

保存退出即可