• Because my admin panel is very slow, i tried to debug what’s going on. I nailed it to the function wp_remote_post and an internal error message thrown by curl on this line

    return new WP_Error( 'http_request_failed', curl_error( $handle ) );

    I wonder what would have happened if I uninstalled curl. Can WordPress use other mechanisms to make http requests or is curl required?

Viewing 1 replies (of 1 total)
  • gresakg

    WordPress uses Curl and Streams for fetching URLs, when fetched via inbuilt functions like wp_remote_get or wp_remote_post. It can even be extended to use other methods if both of these are not available on a server(which happens rarely).

    So about your question, even if you uninstall Curl library for PHP, it will still keep on working ??

Viewing 1 replies (of 1 total)
  • The topic ‘Is cURL a dependency of WordPress’ is closed to new replies.