Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carl-alberto/b6ea589daeea41affb72f8a79820e373 to your computer and use it in GitHub Desktop.
Save carl-alberto/b6ea589daeea41affb72f8a79820e373 to your computer and use it in GitHub Desktop.
How to check if your server has enabled CURL and OpenSSL using PHP
<?php
echo 'Curl: ', function_exists('curl_version') ? 'Enabled' : 'Disabled';
echo 'OpenSSL: ', extension_loaded('openssl') ? 'Enabled' : 'Disabled';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment