我正在尝试使用 PHPBrew 在 Ubuntu 18.04 上安装 PHP 5.3.2。在没有 OpenSSL 的情况下安装它没有任何问题,但是当我想安装 OpenSSL 时出现几个错误。
我的第一次尝试是只使用 +openssl,但后来我从 OpenSSL 得到了很多错误。然后我安装了 OpenSSL 0.9.8 并使用它+openssl=/usr/local/openssl/
,现在我收到以下错误:
configure: error: Cannot find OpenSSL's libraries
我不知道它找不到哪些库。我已经evp.h
通过/usr/local/openssl
在/usr/local/openssl/include/openssl/evp.h
.
编辑:尚未找到修复程序,只是使用没有 OpenSSL 的版本。