Warmly recommended: Super Multi IT resources, all in 798 Resource Network
(1 generates openssl.so file)
# Enter the extension directory
cd /data/soft/php-5.5.38/ext/openssl
# configure file
/ usr / local / php / bin / phpize
mv config0.m4 config.m4
#预编译
./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config
#安装
make && make install
(2、修改 php.ini)
extension_dir="/usr/local/php/lib/php/extensions/no-debug-zts-20121212/"
extension=openssl.so