Solution To 500 Internal Server Error When Installing WordPress

When installing WordPress themes onto your site sometimes you may receive a warning reads: ” 500 Internal Server Error”

Annoying as it is, the solution to it may be simple, you just need to find the  line in the codes under ./wp-includes/class-http.php , it’s in about the 291th lines and change it to:

$request_order = apply_filters( ‘http_api_transports’, array( ‘streams’ ), $args, $url );

Meaning that you just delete ‘curl’, as shown:



Beware that in some cases the aforementioned line won’t be in 291th line, then you might want to ctrl+f the following code:

$request_order = apply_filters( ‘http_api_transports’, array( ‘curl’, ‘streams’ ), $args, $url );

then replace it with:

$request_order = apply_filters( ‘http_api_transports’, array( ‘streams’ ), $args, $url );



and place it under filefolder wp-includes, best to backup your files before doing so.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s