不重新编译PHP为php增加openssl模块的方法
2012-01-11 00:00
323 查看
不重新编译PHP为php增加openssl模块的方法
网站推广
yum -y install openssl
/usr/local/bin/是php的安装目录
切换到php安装目录的etx/openssl目录
cd /usr/local/src/php-5.2.8/ext/openssl
/usr/local/bin/phpize
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
查看openssl目录下有个config.w32和config0.m4,把config0.m4改名为config.m4。
mv config0.m4 config.m4
执行:
/usr/local/bin/phpize
编译:
./configure --with-openssl --with-php-config=/usr/local/bin/php-config
make;make install
提示成功后,在php.ini里加入extension = openssl.so
重启apache或php-fpm,
网站推广完成.(fblww-0111)
网站推广
yum -y install openssl
/usr/local/bin/是php的安装目录
切换到php安装目录的etx/openssl目录
cd /usr/local/src/php-5.2.8/ext/openssl
/usr/local/bin/phpize
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
查看openssl目录下有个config.w32和config0.m4,把config0.m4改名为config.m4。
mv config0.m4 config.m4
执行:
/usr/local/bin/phpize
编译:
./configure --with-openssl --with-php-config=/usr/local/bin/php-config
make;make install
提示成功后,在php.ini里加入extension = openssl.so
重启apache或php-fpm,
网站推广完成.(fblww-0111)
相关文章推荐
- 不重新编译PHP为php增加openssl模块的方法
- 不重新编译PHP为php增加openssl模块的方法
- linux不重新编译php增加openssl扩展
- LINUX下PHP编译添加相应的动态扩展模块so(不需要重新编译PHP,以openssl.so为例)
- 不重新编译php,增加动态模块(以mbstring模块为例)
- LINUX下PHP编译添加相应的动态扩展模块so(不需要重新编译PHP,以openssl.so为例)
- 不重新编译PHP,单独添加扩展模块的方法
- phpize为php在不重新编译php情况下安装模块openssl
- 不重新编译为 PHP 增加 LDAP 模块
- LINUX下PHP编译添加相应的动态扩展模块so(不需要重新编译PHP,以openssl.so为例)
- 通过phpize为php在不重新编译php情况下安装模块openssl
- LINUX下PHP编译添加相应的动态扩展模块so(不需要重新编译PHP,以openssl.so为例)
- 转 通过phpize为php在不重新编译php情况下安装模块openssl
- 转 通过phpize为php在不重新编译php情况下安装模块openssl
- php 不重新编译增加新扩展的方法
- php不用编译增加openssl的方法
- linux不重新编译php增加openssl扩展
- 不重新编译为PHP增加LDAP模块的支持