Error 500:“wordpress Internal Server Error"
WordPress版本:4.7.3
主機:阿里雲虛擬主機
CentOS 6.5 64位
PHP v5.5
解決方法:
在./wp-includes/class-http.php找到:
$request_order = apply_filters( 'http_api_transports', array( 'curl', 'streams' ), $args, $url );
然後將這一句代碼替換爲:
$request_order = apply_filters( 'http_api_transports', array( 'streams' ), $args, $url );