linux 下安装php的openssl扩展

来源:互联网 发布:淘宝关键词是什么意思 编辑:程序博客网 时间:2024/05/23 02:02
1. 安装openssl
解压php的源码包
tar zxvf php-5.3.8.tar.gz 
cd soft/php-5.3.8/ext/openssl
 mv config0.m4 config.m4                            否则报错:找不到config.m4
/opt/local/php-5.3.8/bin/phpize 
./configure --with-openssl --with-php-config=/opt/local/php-5.3.8/bin/php-config 
make
make test
make install


0 0
原创粉丝点击