How to check if CURL is enabled on your server?

// Add below code to your .php file

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";   
          echo "cURL is NOT <strong style='color:red'>installed</strong> on this server";

Or use this script :



Popular posts from this blog

Stop video playing when Bootstrap modal is closed