PHP代码 #下面是php的安装目录 /usr/local/php5.3.8/bin/ #切换到php安装目录的etx/openssl目录 cd/php-5.3.8/ext/openssl #查看openssl目录下有个config0.m4,把config0.m4改名为config.m4。 cpconfig0.m4config.m4 #依次执行: /usr/local/php5.3.8/bin/php
PHP代码
#下面是php的安装目录
/usr/local/php5.3.8/bin/
#切换到php安装目录的 etx/openssl目录
cd /php-5.3.8/ext/openssl
#查看openssl目录下有个config0.m4,把config0.m4改名为config.m4。
cp config0.m4 config.m4
#依次执行:
/usr/local/php5.3.8/bin/phpize
./configure –with-openssl –with-php-config=/usr/local/php5.3.8/bin/php-config
遇到错误configure: error: libssl not found! yum install openssl-devel解决
make && make install
#然后找到php.ini所在位置 打开 extension_dir(如果没有则自行添加), 同时添加 extension = "openssl.so"
#重启服务器 即可
#openssl 查看方法:
/usr/local/php5.3.8/bin/php -i |grep openssl

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
