商店升级PHP8.3.13报错?

我现在的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.
阅读 5.4k
2 个回答

上面报错是缺少libwebp包,估计软件源出错没安装上,
可以去ssh手动安装上,再升级看看。

debian系的系统,
apt install libwebp-dev

centos系统
apt install libwebp-devel

新手上路,请多包涵

看提示很清楚了,就是缺少下面这个包:
libwebp >= 0.2.0
需要安装这个包,版本不能低于 0.2.0

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏