PHP SSL availability check
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 | |
if (extension_loaded('openssl')) { | |
echo 'SSL is available for your installation.'; | |
} else { | |
echo 'Unfortunately it looks like SSL is not available for your installation. Please contact your system administrator or web host.'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment