我现在的PHP版本是8.3.10
在商店里升级8.3.13 最后提示
configure: error: Package requirements (libwebp >= 0.2.0) were not met:
Package 'libwebp', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables WEBP_CFLAGS
and WEBP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
mkdir: cannot create directory '/usr/local/php-8.3/var/run/pid': File exists
[OK] php-8.3 is already installed.
上面报错是缺少libwebp包,估计软件源出错没安装上,
可以去ssh手动安装上,再升级看看。
debian系的系统,
apt install libwebp-dev
centos系统
apt install libwebp-devel