I am using homestead 2.1.0, vagrant 1.9.2, and composer is using the domestic source of laravel-china. Composer reports this error. What is going on and how to solve it?
[Composer\Downloader\TransportException]
The "https://packagist.phpcomposer.com/p/laravel/lumen-framework%2422c8de2cf7a47c08baa33c23e6b2b6d557fdfd44011047b84c7dd03938bc1995.json" file could not be downloaded: SSL: Connection reset by peer
failed to open stream: HTTP request failed!
Searching for solutions online to no avail
Who can solve the problem of transferring Alipay to pay for a breakfast! ! ! ! ! ! ! ! ! ! ! !
https://packagist.phpcomposer.com/p/laravel/lumen-framework%2422c8de2cf7a47c08baa33c23e6b2b6d557fdfd44011047b84c7dd03938bc1995.json This url can access the file. You can copy it directly, name it in the root directory
composer.json
, and then execute it againFirst check whether openssl is installed in your php. If it is installed, an error will be reported. In
C:usrlocalssl
建立openssl.cnf
, the content is as follows. This is the hard-coded path for compiling the NT version.I think you can try another source, such as http://www.phpcomposer.com
This is the case. After composer upgrade, you need to use https, but you can configure it to support http, that is, configure it in config.json
`
`