Composer source update error

Source: Internet
Author: User
Running {code...} on the server today prompts me that {code...} does not know why? Is there an image problem or is there a problem with my local certificate or something running on the server today?

composer update

The message returned to me is:

> php artisan clear-compiled> php artisan optimizeGenerating optimized class loader> php artisan ide-helper:generateA new helper file was written to _ide_helper.phpLoading composer repositories with package information                                                                                                                                        [Composer\Downloader\TransportException]                                                                                              The "https://packagist.phpcomposer.com/packages.json" file could not be downloaded: Peer certificate CN=`*.b0.upaiyun.com' did not     match expected CN=`packagist.phpcomposer.com'                                                                                        Failed to enable crypto                                                                                                               failed to open stream: operation failed

I don't know why? Is there a problem with the image or my local certificate or something?

Follow these steps:

c:\upupw\htdocs\laravel>composer updateLoading composer repositories with package informationUpdating dependencies (including require-dev)  - Removing illuminate/support (v5.2.37)  - Removing illuminate/contracts (v5.2.37)  - Removing illuminate/console (v5.2.37)  - Removing illuminate/cache (v5.2.37)  - Removing illuminate/http (v5.2.37)  - Removing illuminate/session (v5.2.37)  - Removing illuminate/config (v5.2.37)  - Removing illuminate/filesystem (v5.2.37)  - Removing illuminate/translation (v5.2.37)  - Removing illuminate/pipeline (v5.2.37)  - Removing illuminate/container (v5.2.37)  - Removing illuminate/routing (v5.2.37)  - Removing illuminate/events (v5.2.37)  - Removing illuminate/database (v5.2.37)Writing lock fileGenerating autoload files> Illuminate\Foundation\ComposerScripts::postUpdate> php artisan optimizeGenerating optimized class loader

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.