linux php 安装 openssl扩展
热烈推荐:超多IT资源,尽在798资源网
(1、生成 openssl.so 文件)
#进入扩展目录
cd /data/soft/php-5.5.38/ext/openssl
#生成 configure 文件
/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
还没有评论,来说两句吧...