2016-09-28 85 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

相關問題