【发布时间】:2015-02-06 14:39:28
【问题描述】:
我正在尝试安装 Composer 以安装 Laravel。使用 Composer 网站提供的 Windows 安装程序,在将 php.exe 分配给 WAMP 中的安装程序后,我收到以下错误:
Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
file_get_contents(): Failed to enable crypto
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failed
我还为 PHP 和 Composer 分配了系统变量。我错过了什么?
【问题讨论】:
-
为了以后的参考,用代码格式来衬托代码段更容易阅读问题。
标签: laravel composer-php