Linux下用shell命令查看 phpinfo

飞鸿先森 2013-06-20

$ 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

相关推荐