使用旧的openssl编译php
apache(在centos上)使用openssl 1.0.1 我想用不同的openssl vesrion编译php。 首先,我用config安装openssl ./config--prefix=/usr/local--openssldir=/usr/local/openssl 然后我安装带有配置的php ./configure--prefix=/usr/local--with-apxs2=/usr/bin/apxs --禁用phpdbg——使用openssl——使用openssl dir=/usr/local/bin——禁用phpdbg webhelper——使用mcrypt——使用pdo mysql=/usr——使用mysqli=/usr/bin/mysql\u config——启用日历——启用ftp——启用soap——使用curl——使用mcrypt——启用opcache——启用mbstring——启用bcmath——启用套接字——使用mhash——使用gd--启用gd原生ttf——使用ttf——使用gettext——使用jpeg dir=/usr/local/lib——使用freetype dir=/usr/local/lib 标头版本更改成功,但库版本未更改 phpinfo OpenSSL库版本-OpenSSL 1.0.1 OpenSSL头版本-OpenSSL 0.9.8 我做错了什么 p、 很抱歉,这个老问题。您的使用旧的openssl编译php,php,configuration,compilation,Php,Configuration,Compilation,apache(在centos上)使用openssl 1.0.1 我想用不同的openssl vesrion编译php。 首先,我用config安装openssl ./config--prefix=/usr/local--openssldir=/usr/local/openssl 然后我安装带有配置的php ./configure--prefix=/usr/local--with-apxs2=/usr/bin/apxs --禁用phpdbg——使用openssl——使用openssl dir=/u
--with openssl dir
指令没有链接到更新的openssl版本。确定正确的目录并将--with openssl dir
调整到该路径。您的--with openssl dir
指令未链接到更新的openssl版本。确定正确的目录,并使用openssl dir将--调整到该路径