我用 composer 设置了 valet pro,但是,该站点抛出了一个错误ERR_CONNECTION_REFUSED
。
我尝试运行代客安装,但由于代客找不到 pecl 的安装路径而失败。我怎样才能解决这个问题?
[nginx] Stopping
[valet-php@7.2] Stopping
[valet-php@7.3] Stopping
[valet-php@7.4] Stopping
[mysql@5.7] Stopping
[redis] Stopping
[devtools] Installing tools
[devtools] wp-cli already installed
[devtools] pv already installed
[devtools] geoip already installed
[devtools] zlib already installed
[binaries] Installing binaries
[BREW TAP] henkrehorst/php already installed
[PECL] Updating PECL channel: pecl.php.net
[PECL] Installing extensions
In Pecl.php line 146:
Could not find installation path for: apcu
Could not download from "https://pecl.php.net/get/apcu-5.1.17.tgz", cannot download "pecl/apcu" (Connection to `ssl://pecl.php.
net:443' failed: )
Error: cannot download "pecl/apcu"
Download failed
install failed