当我运行
composer install
或composer update
命令时,它会显示以下内容。The following exception probably indicates you have misconfigured DNS resolver(s)
[Composer\Downloader\TransportException]
curl error 6 while downloading https://flex.symfony.com/versions.json: Could not resolve host: flex.symfony.com`
我更改了 DNS,但问题没有得到解决。
PHP 版本:8.0.0。我已经测试过 PHP 7.4 版本。