0
我試圖安裝安裝Elasticsearch Elasticsearch使用作曲家。我下載了作曲家,在命令行中執行composer -v
時,它可以正常工作。然後,我創建了一個名爲composer.json並在該文件的目錄執行composer install
。這是我收到的算賬:使用作曲家
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 5 installs, 0 updates, 0 removals
- Installing react/promise (v2.5.1): Downloading (failed)
Downloading (failed)
Downloading (failed) Failed to download react/promise from dist: The "https://api.github.com/repos/reactphp/promise/zipball/62785ae604c8d69725d693eb370e1d67e94c4053" 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
網上搜索後,我試圖改變我的php.ini CA-捆綁證書文件路徑,但它仍然沒有工作。我使用的PHP版本是5.6.25,它在WAMP服務器上。我如何解決這個錯誤,以便安裝Elasticsearch?