lnmp安装php7.4.33失败
configure: error: Package requirements (libwebp) were not met:
No package 'libwebp' 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 WEBP_CFLAGS
and WEBP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.Stop.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 205: pear: command not found
include/php.sh: line 206: pecl: command not found
Downloading Composer...
--2023-10-20 09:19:36--https://soft.lnmp.com/web/php/composer/composer-2.2.phar
Resolving soft.lnmp.com (soft.lnmp.com)... failed: Name or service not known.
wget: unable to resolve host address ‘soft.lnmp.com’
Composer install failed, try to from composer official website...
include/php.sh: line 220: php: command not found
curl: (6) Could not resolve host: getcomposer.org; Unknown error
Install ZendGuardLoader for PHP 7.4...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat ‘/root/Downloads/lnmp2.0-full/src/php-7.4.33/sapi/fpm/init.d.php-fpm’: No such file or directory
Clean PHP src directory...
[+] Installing nginx-1.24.0...
groupadd: group 'www' already exists
useradd: user 'www' already exists
openssl-1.1.1t.tar.gz
Uncompress nginx-1.24.0.tar.gz...
cd nginx-1.24.0...
checking for OS
+ Linux 3.10.0-957.el7.x86_64 x86_64
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
找不到init.d.php-fpm这个文件,不过有个init.d.php-fpm.in文件
需要提供完整日志
页:
[1]