運行PHP
、composer
...提示dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
PHP
錯誤展示
$ php -v
dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
[1] 6970 abort php -v
解決方法
brew switch openssl 1.0.2o_1(版本號)