php8.3安装yaml提示“pecl/yaml“, already installed as version 2.2.3 No valid packages found install failed

php8.3安装yaml提示“pecl/yaml“, already installed as version 2.2.3 No valid packages found install failed_第1张图片

php 8.3安装yaml时提示异常

pecl install https://pecl.php.net/get/yaml-2.2.3.tgz

downloading yaml-2.2.3.tgz ...

Starting to download yaml-2.2.3.tgz (41,276 bytes)

............done: 41,276 bytes

Skipping package "pecl/yaml", already installed as version 2.2.3

No valid packages found

install failed

解决方法:

直接下载官方源码来编译安装 

git clone https://github.com/php/pecl-file_formats-yaml.git
cd pecl-file_formats-yaml
phpize
./configure --with-yaml
make && make install

你可能感兴趣的:(php,php,php8.3,yaml,phpize,PHP编译安装)