您好,服务器内缺少了libjpeg组件包导致PHP安装失败了,您那边可以到服务器命令行使用下面命令安装组件然后重新PHP:
- yum install libjpeg-devel
复制代码
如果服务器内无法安装到,请到此网站内下载:
- wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libjpeg-turbo-1.2.90-8.el7.x86_64.rpm
- wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm
- rpm -ivh libjpeg-turbo-1.2.90-8.el7.x86_64.rpm
- rpm -ivh libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm
复制代码 |