How to check if CURL is enabled on your server?
// Add below code to your .php file
Or use this script :
function is_curl_installed() {
if (in_array ('curl', get_loaded_extensions())) {
return true;
} else {
return false;
}
}
if (is_curl_installed()){
echo "cURL is <strong>installed</strong> on this server";
}else{
echo "cURL is NOT <strong style='color:red'>installed</strong> on this server";
}
Or use this script :
<?php phpinfo(); ?>
Comments
Post a Comment