我和作曲家建立了贴身程序,但是网站抛出了一个错误ERR_CONNECTION_REFUSED。
我试着运行valet,但是由于valet没有为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发布于 2022-07-25 12:31:27
extension="apcu.so"有可能在php.ini中显示两次。所以首先移除一个。
然后运行以下命令:
pecl config-set preferred_state beta
pecl install geoip我有同样的问题,它解决了!
https://stackoverflow.com/questions/62234138
复制相似问题