OSX-Composer-lib-openssl要求 [英] OSX - Composer - lib-openssl requirements

查看:77
本文介绍了OSX-Composer-lib-openssl要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从上一次对7.3.1版进行XCode更新以来,我在OSX上遇到了 composer openssl 的问题.它在更新之前有效.

Since the last XCode Update to version 7.3.1 i run into problems with composer and openssl on OSX. It worked before update.

我尝试通过作曲家更新来更新软件包.软件包"ricardoper/twitteroauth" 需要 lib-openssl:"*" .

I try to update packages via composer update. The package "ricardoper/twitteroauth" requires lib-openssl: "*".

运行作曲家更新时会引发以下错误:

The following error is thrown while running composer update:

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,错误消失了.不确定这是否适合您,但这是为我解决此问题的唯一方法...

I've been having the same problem, and I upgraded to PHP 5.6, and the error went away. Not sure if that's an option for you, but that's the only thing that fixed this for me...

这篇关于OSX-Composer-lib-openssl要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆