Some software and plugins out there require support of cURL and some website hosting service providers disable support for cURL for “security purposes”. So here is a quick way to check if your server supports cURL before you shell out a nice chunk of cash on that new plugin or software.

Create a PHP page with the following code in it:

<?php

function _iscurlsupported() {
if  (in_array  (‘curl’, get_loaded_extensions())) {
return true;
}
else{
return false;
}
}

if (_iscurlsupported()) echo “cURL is supported”; else echo “cURL is NOT supported”;

?>

Save and upload the page to your server and then open it up in a browser. The answer lies within.

Ok, later.

Leave a Reply

Your email address will not be published. Required fields are marked *