chj861102 发表于 2023-4-13 12:31:09

php安装失败

Uncompress php-7.4.30.tar.bz2...
cd php-7.4.30...
OpenSSL 3.0, apply a patch to PHP 7.4...
patching file ext/openssl/openssl.c
configure: WARNING: unrecognized options: --with-png, --without-libzip
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... no
checking if compiler supports -R... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for LMDB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable DOM support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with Enchant support... no
checking whether to enable EXIF (metadata from images) support... no
checking for FFI support... no
checking for fileinfo support... no
checking whether to enable input filter support... yes
checking whether to enable FTP support... yes
checking whether to explicitly enable FTP SSL support... no
checking for openssl >= 1.0.1... yes
checking for GD support... yes
checking for external libgd... no
checking for libwebp... yes
checking for libjpeg... yes
checking for libXpm... no
checking for FreeType 2... /usr/local/freetype
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for zlib... yes
checking for libpng... yes
checking for libwebp... yes
checking for libjpeg... yes
checking for freetype2... yes
configure: error: GD build test failed. Please check the config.log for 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 190: pear: command not found
include/php.sh: line 191: pecl: command not found

Composer install successfully.
Install ZendGuardLoader for PHP 7.4...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/root/lnmp1.9/src/php-7.4.30/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
Clean PHP src directory...

licess 发表于 2023-4-13 16:01:07

需要按反馈必读帖子要求上传日志到指定网盘,并贴出日志下载链接
页: [1]
查看完整版本: php安装失败