dvd198 发表于 2021-1-6 16:12:54

多php版本,php7.4.12安装失败

本帖最后由 dvd198 于 2021-1-6 16:20 编辑


CentOS Linux release 7.2.1511 (Core)

Linux iZuf60ibk1pvaj50e3zv6hZ 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



麻烦看下是什么问题,lnmp1.7源码包下安装的





licess 发表于 2021-1-6 18:05:53

checking for libjpeg... no
configure: error: Package requirements (libjpeg) were not met:

No package 'libjpeg' 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 JPEG_CFLAGS
and JPEG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
系统上缺少libjpeg-devel依赖包,这个安装lnmp时会自动安装上的,有可能被你误删掉了
可以yum install libjpeg-devel 再手动安装上
页: [1]
查看完整版本: 多php版本,php7.4.12安装失败