php编译问题

configure: error: jpeglib.h not found.

yum -y install libjpeg-devel

configure: error: xpm.h not found.

yum install libXpm-devel -y

configure: error: freetype-config not found.

yum install freetype-devel -y

configure: error: Unable to locate gmp.h

yum install gmp-devel -y

php 7.4 GD全开

./configure –enable-fpm –with-pdo-mysql –enable-mbstring –with-mysqli –with-openssl –with-zlib –enable-bcmath –enable-gd –with-curl –enable-exif –with-zip –with-pear –with-jpeg –with-webp –with-freetype –with-xpm –enable-gd-jis-conv

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注