Sometimes when you approach a new webserver it's useful to know which Php version is running on it and which extensions are enabled.
You can either search for php.ini file, look in files and folder for settings and configurations, you can create a phpinfo() page... or you can use this simple line to show everything in your terminal.
$ echo '<?php phpinfo(); ?>' | php 2>&1 | less
You obviously can pipe it to a grep command in order to show only desired lines:
$ echo '<?php phpinfo(); ?>' | php 2>&1 | grep -i ssl