文件上传时wordpress出现500错误。它显示HTTP错误

文件上传时wordpress出现500错误。它显示HTTP错误,wordpress,Wordpress,文件上传时wordpress出现500错误。它显示HTTP错误。附上截图 将其添加到functions.php中 add_filter( 'wp_image_editors', 'change_graphic_lib' ); function change_graphic_lib($array) { return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' ); } 你在使用linux/ubun

文件上传时wordpress出现500错误。它显示HTTP错误。附上截图


将其添加到functions.php中

    add_filter( 'wp_image_editors', 'change_graphic_lib' );

    function change_graphic_lib($array) {
    return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }

你在使用linux/ubuntu吗?但你在live中使用的是什么服务器???如果您在live than中使用linux,则上载目录中可能存在权限问题。或者您超出了大小限制。linux服务器。我已向allr-w etc授予wp内容文件夹的权限