我有两台服务器都无法安装PHP7.2

问答中心分类: OneinStack我有两台服务器都无法安装PHP7.2
wbx123 asked 7 年 ago
我有两台服务器都无法安装PHP7.2

If configure fails try --with-webp-dir=<DIR> checking for jpeg_read_header in -ljpeg... no configure: error: Problem with libjpeg.(a|so). Please check config.log for more information. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. PHP install failed, Please Contact the author!

1 Answers
oneinstack answered 7 年 ago
centos?
libjpeg依赖好像没安装,执行如下,再尝试呢:

yum -y install libjpeg-turbo libjpeg-turbo-devel