日期:2014-05-16  浏览次数:20778 次

Linux下用shell命令查看 phpinfo
$ echo '<?php phpinfo(); ?>' | php 2>&1 |grep -i ssl
?

Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
SSL => Yes
SSL Version => OpenSSL/0.9.8o
SSL Support => enabled
SSL => supported
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 0.9.8o 01 Jun 2010
OpenSSL Header Version => OpenSSL 0.9.8o 01 Jun 2010
OpenSSL support => enabled