'php composer.phar诊断'错误

时间:2016-03-21 13:44:05

标签: php macos composer-php

我在尝试运行php composer.phar诊断时遇到以下错误。

php composer.phar diagnose
Checking composer.json: FAIL
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
require.google/apiclient : unbound version constraints (dev-master) should be avoided
require.querypath/QueryPath : unbound version constraints (>=3.0.0) should be avoided
Checking platform settings: FAIL
The OpenSSL library (0.9.8zc) used by PHP does not support TLSv1.2 or TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.

Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com oauth access: OK
Checking disk free space: OK
Checking pubkeys: 
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK

我的问题是如何消除以下失败:

Checking platform settings: FAIL
The OpenSSL library (0.9.8zc) used by PHP does not support TLSv1.2 or     TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.

0 个答案:

没有答案