我正在 Mac OS 上使用 php5.6 ,并且 php-fpm 引发了一个问题:
dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
Referenced from: /usr/local/opt/php@5.6/sbin/php-fpm
Reason: image not found
现在我已经安装了最新的OpenSSL版本。而且无法降级。
答案 0 :(得分:1)
要解决此问题,您需要:
$ make clean
,$ ./Configure darwin64-x86_64-cc -shared
,$ make
,$ make install
/usr/local/Cellar/openssl/lib/
现在就可以了(对我来说)!
答案 1 :(得分:0)
我有个好消息。 eXolnet 发布了针对php@5.6的补丁程序,修复了openssl错误。 All instructions here
答案 2 :(得分:0)
macOS Catalina中使用PHP 7.2的完美解决方案,这一行:
brew uninstall openssl; brew uninstall openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
丰盛:
https://github.com/kelaberetiv/TagUI/issues/86#issue-303370944
答案 3 :(得分:0)
对我来说,以下工作有效(带有PHP 7.1的macOS Catalina)
brew uninstall --ignore-dependencies openssl
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb