2016-09-28 89 views
0

我正在使用我工作组织提供的计算机,因为我只是一名用户,所以我没有任何访问权限来更改防火墙。无法为symfony安装composer

我想安装Composer以开始symfony 2项目。当我尝试使用Composer exe文件进行安装时,我看到此消息 - The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed failed to open stream: Cannot connect to HTTPS server through proxy

我使用Google搜索它,但所有给出的解决方案均与防火墙相关,只能由管理员解决。

+0

作曲家内部使用PHP下载所有内容。 AFAIK PHP 5.5在某些时候解决证书问题。你可以运行'<?php file_get_contents('https://github.com/')?>并告诉我们它是否触发任何错误? – Uriziel

回答

-1

看来你有网络问题:Cannot connect to HTTPS server through proxy。您可能想要解决这个问题,但由于您无法访问网络设置,因此只需使用https://getcomposer.org/download/中的Manual Download选项即可。只需从this下载composer.phar文件url

+0

'证书验证失败'是问题,而不是网络问题。 – Uriziel