小编Jac*_*Doe的帖子

用最新的 openssl 和 curl 编译 php

我正在尝试使用最新的 curl 和 openssl (1.0.1l) 编译 php 5.4.36,我已将 openssl 编译到一个单独的文件夹中

我的系统是 CentOS。

当我尝试编译 php 时

./configure  ...etc... --with-curl=/usr/local/curlfolder --with-openssl=/usr/local/opensslfolder
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... /usr/local/opensslfolder
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's libraries
Run Code Online (Sandbox Code Playgroud)

curl 和 openssl 都编译没有任何问题

php openssl curl

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

curl ×1

openssl ×1

php ×1