To check cURL we need to check PHP extension –
function _is_curl_installed() {
if (in_array (‘curl’, get_loaded_extensions())) {
return true;
}
else {
return false;
}
}
// Output text to user based on test
if (_is_curl_installed()) {
echo “cURL is <span style=\”color:blue\”>installed</span> on this server”;
} else {
echo “cURL is NOT <span style=\”color:red\”>installed</span> on this server”;
}

Like!! Great article post.Really thank you! Really Cool.