How to determine if OpenSSL and mod_ssl are installed on Apache2

Viewed 171465

Does anyone know the command to determine if OpenSSL and mod_ssl are installed on Apache2?

16 Answers

Create a test.php file with the following code in a www folder:

<?php echo phpinfo();?>

When you navigate to that page/URL in the browser. You will see something similar if you have openssl enabled:

enter image description here

to verify in php command lie

 $php -i | grep openssl

To find the ssl version

  1. Go to Apache bin folder in command prompt
  2. Enter these commands "openssl version"
Related