Skip to content

Instantly share code, notes, and snippets.

Created Mar 11, 2020
What would you like to do?
PHP SSL availability check
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