lnmp安装多版本php失败
checking for zlib... yeschecking for libpng... yes
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.
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。
Copy new php configure file...
Modify php.ini......
Install ZendGuardLoader for PHP 7.4...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: 无法获取"/lnmp1.7/src/php-7.4.12/sapi/fpm/init.d.php-fpm" 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问"/etc/init.d/php-fpm7.4": 没有那个文件或目录
Add php-fpm7.4 service at system startup...
服务 php-fpm7.4 信息读取出错:没有那个文件或目录
服务 php-fpm7.4 信息读取出错:没有那个文件或目录
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting php-fpmdone
Failed to install php-7.4.12, you can download /root/install-mphp7.4.log from your server, and upload install-mphp7.4.log to LNMP Forum.
系统上缺少libjpeg-devel依赖包,这个安装lnmp时会自动安装上的,有可能被你误删掉了
centos的话可以yum install libjpeg-devel 再手动安装上
页:
[1]