./configure –with-openssl –with-php-config=/usr/local/bin/php-config
make
make test
PHP.ini中加入extension=openssl.so