内网服务器安装php7.4提示No package 'libjpeg' found
1. 运行环境
redhat
1). 当前使用的 Laravel 版本?
laravel 8
//: <> (使用 php artisan --version
命令查看)
2). 当前使用的 php/php-fpm 版本?
PHP 版本:7.4.30
php-fpm 版本:7.4.30
3). 当前系统
4). 业务环境
5). 相关软件版本
2. 问题描述?
执行./configure 的时候一直报错libjpeg 没有,但是已经装过了。
//编译命令
./configure --prefix=/usr/local/php
--with-config-file-path=/usr/local/php/etc
--with-config-file-scan-dir=/usr/local/php/conf.d
--with-fpm-user=www
--with-fpm-group=www
--with-curl
--with-freetype
--enable-gd
--with-gettext
--with-iconv-dir
--with-kerberos
--with-libdir=lib64
--with-mysqli
--with-pdo-mysql
--with-pear
--with-jpeg
--with-xmlrpc
--with-xsl
--with-zlib
--with-bz2
--with-zip
--with-mhash
--enable-fpm
--enable-bcmath
--with-libxml
--enable-inline-optimization
--enable-mbregex
--enable-mbstring
--enable-opcache
--enable-pcntl
--enable-shmop
--enable-soap
--enable-sockets
--enable-sysvsem
--enable-sysvshm
--enable-xml
--with-openssl
--enable-exif
--enable-fileinfo
--enable-fpm
3. 您期望得到的结果?
能编译php
//: <> (能截图就截图。)
libjpeg libjpeg-devel
这2个软件安装下