Created
August 4, 2016 16:43
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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