**ERROR** Could not configure PHP build

#1
I am trying to compile php 8.0.7 via admin panel but every time i receive an error.
This is the part of error log, i can not paste all error messages.I use cent os 7.
Code:
**LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1632307329.6.log

==============================================
Start building PHP 8.0.7 with LSAPI
==============================================
Wed Sep 22 20:01:14 JST 2021

Changing to build directory /usr/local/lsws/phpbuild/php-8.0.7
Configuring PHP build (2-3 minutes)
./configure '--prefix=/usr/local/lsws/lsphp8' '--with-mysqli' '--with-zlib' '--enable-gd' '--enable-shmop' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-mbstring' '--with-iconv' '--with-mcrypt' '--with-pdo-mysql' '--enable-ftp' '--enable-zip' '--with-curl' '--enable-soap' '--enable-xml' '--enable-json' '--with-openssl' '--enable-bcmath' '--enable-exif' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr/lib/x86_64-linux-gnu/libjpeg.so' '--with-png-dir=/usr/lib/x86_64-linux-gnu/libpng.so' '--with-freetype-dir' '--with-xmlrpc' '--with-gettext' '--with-bz2' '--enable-litespeed' '--enable-opcache'
configure: WARNING: unrecognized options: --with-mcrypt, --enable-zip, --enable-json, --enable-gd-native-ttf, --with-jpeg-dir, --with-png-dir, --with-freetype-dir, --with-xmlrpc
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /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... /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 for cc option to accept ISO C99... -std=gnu99
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... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... gawk
checking for bison... no
checking for re2c... no
checking whether to enable computed goto gcc extension with re2c... no
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for global register variables support... yes
checking whether __cpuid_count is available... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib... pthread

[1mConfiguring SAPI modules[0;10m
checking for Apache 2 handler module support via DSO through APXS... no
checking for setproctitle... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for PS_STRINGS... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for FPM build... no
checking for clang fuzzer SAPI... no
checking for LiteSpeed support... yes
checking for phpdbg support... yes
checking for phpdbg web SAPI support... no
checking for phpdbg debug build... no
checking for phpdbg readline support... no
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for phpdbg and readline integration... disabled
checking for CGI build... yes
checking for sun_len in sys/un.h... no
checking whether cross-process locking is required by accept()... no
checking for chosen SAPI module... none
checking for executable SAPI binaries...  cli litespeed phpdbg cgi
 
Last edited:
Top