OSX - 作曲家 - lib-openssl 要求
OSX - Composer - lib-openssl requirements
自从上次 XCode 更新到版本 7.3.1 后,我 运行 遇到 composer 和 openssl[=28= 的问题] 在 OSX 上。它在更新之前有效。
我尝试通过 composer update 来更新包。软件包 "ricardoper/twitteroauth" 需要 lib-openssl: "*".
运行ning composer 更新时抛出以下错误:
ricardoper/twitteroauth v2.1.5 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it.
PHP 版本信息:
php -v
PHP 5.5.34 (cli) (built: Apr 22 2016 19:16:58)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File: /etc/php.ini
Scan for additional .ini files in: /Library/Server/Web/Config/php
Additional .ini files parsed: (none)
php -i | grep OpenSSL
OpenSSL support => enabled
OpenSSL Library Version => LibreSSL 2.2.6
OpenSSL Header Version => LibreSSL 2.2.6
OpenSSL support => enabled
可能发生了什么?
我一直遇到同样的问题,我升级到 PHP 5.6,错误消失了。不确定这是否适合您,但这是唯一为我解决此问题的方法...
自从上次 XCode 更新到版本 7.3.1 后,我 运行 遇到 composer 和 openssl[=28= 的问题] 在 OSX 上。它在更新之前有效。
我尝试通过 composer update 来更新包。软件包 "ricardoper/twitteroauth" 需要 lib-openssl: "*".
运行ning composer 更新时抛出以下错误:
ricardoper/twitteroauth v2.1.5 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it.
PHP 版本信息:
php -v
PHP 5.5.34 (cli) (built: Apr 22 2016 19:16:58)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File: /etc/php.ini
Scan for additional .ini files in: /Library/Server/Web/Config/php
Additional .ini files parsed: (none)
php -i | grep OpenSSL
OpenSSL support => enabled
OpenSSL Library Version => LibreSSL 2.2.6
OpenSSL Header Version => LibreSSL 2.2.6
OpenSSL support => enabled
可能发生了什么?
我一直遇到同样的问题,我升级到 PHP 5.6,错误消失了。不确定这是否适合您,但这是唯一为我解决此问题的方法...