Skip to content

Fail to install Php8 any version with Apache2 support #1392

@Kwaadpepper

Description

@Kwaadpepper

PS: install works without Apache2 support

Output

Downloading https://www.php.net/releases/index.php?json=1&version=8&max=100 via curl extension
Downloading https://www.php.net/releases/index.php?json=1&version=7&max=100 via curl extension
===> phpbrew will now build 8.4.2
---> Parsing variants from command arguments '+apxs2 +mbstring +pdo +curl +openssl'
===> Loading and resolving variants...
Creating directory /home/jeremy/.phpbrew/build
Downloading https://www.php.net/distributions/php-8.4.2.tar.bz2 via curl extension
[==================================================================] 16.71/16.71MB 100%
https://www.php.net/distributions/php-8.4.2.tar.bz2 => /home/jeremy/.phpbrew/distfiles/php-8.4.2.tar.bz2
===> Extracting /home/jeremy/.phpbrew/distfiles/php-8.4.2.tar.bz2 to /home/jeremy/.phpbrew/build/tmp.1736502929/php-8.4.2
===> Moving /home/jeremy/.phpbrew/build/tmp.1736502929/php-8.4.2 to /home/jeremy/.phpbrew/build/php-8.4.2
Source Directory: /home/jeremy/.phpbrew/build/php-8.4.2
Writing variant info to /home/jeremy/.phpbrew/php/php-8.4.2/phpbrew.variants
Running make clean to ensure everything will be rebuilt.
Makefile not found in path /home/jeremy/.phpbrew/build/php-8.4.2
Found apxs2 binary: /usr/bin/apxs
===> Checking patches...
Checking patch for replace apache php module name with custom version name
16 changes patched.
Checking patch for replace freetype-config with pkg-config on php older than 7.4
Checking patch for fix readline detection on PHP 5.3 to PHP 7.1
---> Applying patch...
patching file ext/readline/config.m4
Hunk #1 FAILED at 60.
Hunk #2 FAILED at 114.
2 out of 2 hunks FAILED -- saving rejects to file ext/readline/config.m4.rej

Patch failed
0 changes patched.
Enabled variants: [apxs2, mbstring, pdo, curl, openssl, xml, opcache]
Disabled variants: []
===> Configuring 8.4.2...


Use tail command to see what's going on:
   $ tail -F '/home/jeremy/.phpbrew/build/php-8.4.2/build.log'


./configure '--cache-file=/home/jeremy/.phpbrew/cache/config.cache' '--prefix=/home/jeremy/.phpbrew/php/php-8.4.2' '--disable-all' '--enable-phar' '--enable-session' '--enable-short-tags' '--enable-tokenizer' '--with-zlib=/usr' '--with-libdir=lib/x86_64-linux-gnu' '--enable-mbstring' '--enable-pdo' '--with-curl' '--with-openssl' '--enable-dom' '--with-libxml' '--enable-simplexml' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--enable-opcache' '--enable-cli' '--with-config-file-path=/home/jeremy/.phpbrew/php/php-8.4.2/etc/cli' '--with-config-file-scan-dir=/home/jeremy/.phpbrew/php/php-8.4.2/var/db/cli' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig' >> '/home/jeremy/.phpbrew/build/php-8.4.2/build.log' 2>&1
===> Checking patches...
Checking patch for php5.3.x on 64bit machine when intl is enabled.
Checking patch for openssl dso linking patch
Checking patch for php5.6 with openssl 1.1.x patch.
===> Building...
make >> '/home/jeremy/.phpbrew/build/php-8.4.2/build.log' 2>&1
Error: Make failed:
The last 5 lines in the log file:
+--------------------------------------------------------------------+



Thank you for using PHP.



make: ***  Aucune règle pour fabriquer la cible « libphp8.4.2.la », nécessaire pour « all ». Arrêt.

Please checkout the build log file for more details:
	tail /home/jeremy/.phpbrew/build/php-8.4.2/build.log

Expected Result

To install correctly.

Command

Paste your phpbrew install command here (be sure to install with --debug flag, e.g. phpbrew --debug install)

rm -rf /home/jeremy/.phpbrew
phpbrew init

phpbrew --debug install php-8.4.2  +apxs2 +mbstring +pdo +curl +openssl

BUILD.log

Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
phar.inc
directorytreeiterator.inc
clicommand.inc
directorygraphiterator.inc
invertedregexiterator.inc
pharcommand.inc

Build complete.
Don't forget to run 'make test'.

Installing shared extensions:     /home/jeremy/.phpbrew/php/php-8.4.2/lib/php/extensions/no-debug-non-zts-20240924/
Installing PHP CLI binary:        /home/jeremy/.phpbrew/php/php-8.4.2/bin/
Installing PHP CLI man page:      /home/jeremy/.phpbrew/php/php-8.4.2/php/man/man1/
Installing phpdbg binary:         /home/jeremy/.phpbrew/php/php-8.4.2/bin/
Installing phpdbg man page:       /home/jeremy/.phpbrew/php/php-8.4.2/php/man/man1/
Installing PHP CGI binary:        /home/jeremy/.phpbrew/php/php-8.4.2/bin/
Installing PHP CGI man page:      /home/jeremy/.phpbrew/php/php-8.4.2/php/man/man1/
Installing build environment:     /home/jeremy/.phpbrew/php/php-8.4.2/lib/php/build/
Installing header files:          /home/jeremy/.phpbrew/php/php-8.4.2/include/php/
Installing helper programs:       /home/jeremy/.phpbrew/php/php-8.4.2/bin/
  program: phpize
  program: php-config
Installing man pages:             /home/jeremy/.phpbrew/php/php-8.4.2/php/man/man1/
  page: phpize.1
  page: php-config.1
tail: '/home/jeremy/.phpbrew/build/php-8.4.2/build.log' est devenu inaccessible: Aucun fichier ou dossier de ce nom
tail: '/home/jeremy/.phpbrew/build/php-8.4.2/build.log' est apparu ; suivi du nouveau fichier
configure: creating cache /home/jeremy/.phpbrew/cache/config.cache
./configure: line 3477: /home/jeremy/.phpbrew/cache/config.cache: No such file or directory
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 gawk... no
checking for nawk... nawk
checking if nawk is broken... no
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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cc -E
checking for egrep -e... (cached) /usr/bin/grep -E
checking for icc... no
checking for suncc... no
checking how to run the C preprocessor... cc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether ln -s works... yes
checking for system library directory... lib/x86_64-linux-gnu
checking whether to enable runpaths... yes
checking if compiler supports -Wl,-rpath,... yes
checking for bison... no
checking for re2c... no
checking for php... php
checking for php version... 8.1.2-1ubuntu2.20 (ok)
checking whether to enable computed goto extension with re2c... no
checking whether the C compiler accepts -ffp-contract=off... yes
checking whether the C compiler accepts -fvisibility=hidden... yes
checking whether to force non-PIC code in shared modules... no
checking whether we are using musl libc... no
checking for pthreads_cflags... -pthread
checking for pthreads_lib... pthread

�[1mConfiguring SAPI modules�[m
checking whether to build Apache 2 handler module support via DSO through APXS... /usr/bin/apxs2
checking for CLI build... no
checking for embedded SAPI library support... no
checking for FPM build... no
checking for Clang fuzzer SAPI... no
checking for LiteSpeed support... no
checking for phpdbg support... yes
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 cc options needed to detect all undeclared functions... none needed
checking whether UFFDIO_WRITEPROTECT_MODE_WP is declared... yes
checking working pthreads... -pthread -lpthread
checking for CGI build... yes
checking for struct sockaddr_un.sun_len... no
checking whether cross-process locking is required by accept()... no
checking for chosen SAPI module... apache2handler
checking for executable SAPI binaries...  phpdbg cgi

�[1mRunning system checks�[m
checking for sendmail... no
configure: default sendmail_path INI directive set to /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking whether writing to stdout works... This is the test message -- yes
checking for library containing socket... none required
checking for socketpair... yes
checking for library containing gethostbyaddr... none required
checking for library containing dlopen... none required
checking for library containing sin... -lm
checking for library containing Pgrab... no
checking for library containing setsockopt... none required
checking for openpty... yes
checking for dirent.h... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for dns.h... no
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for linux/sock_diag.h... yes
checking for poll.h... yes
checking for pty.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for strings.h... (cached) yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/uio.h... yes
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for unistd.h... (cached) yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for tmmintrin.h... yes
checking for nmmintrin.h... yes
checking for wmmintrin.h... yes
checking for immintrin.h... yes
checking for cookie_io_functions_t... yes
checking for fopencookie... yes
checking whether fopencookie seeker uses off64_t... yes
checking for broken getcwd... no
checking for broken gcc optimize-strlen... no
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether localtime_r is declared... yes
checking whether gmtime_r is declared... yes
checking whether asctime_r is declared... yes
checking whether ctime_r is declared... yes
checking whether strtok_r is declared... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of intmax_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking size of off_t... 8
checking for __builtin_clz... yes
checking for __builtin_clzl... yes
checking for __builtin_clzll... yes
checking for __builtin_cpu_init... yes
checking for __builtin_cpu_supports... yes
checking for __builtin_ctzl... yes
checking for __builtin_ctzll... yes
checking for __builtin_expect... yes
checking for __builtin_frame_address... yes
checking for __builtin_saddl_overflow... yes
checking for __builtin_saddll_overflow... yes
checking for __builtin_smull_overflow... yes
checking for __builtin_smulll_overflow... yes
checking for __builtin_ssubl_overflow... yes
checking for __builtin_ssubll_overflow... yes
checking for __builtin_unreachable... yes
checking for __builtin_usub_overflow... yes
checking whether compiler supports AVX-512... yes
checking whether compiler supports AVX-512 VBMI... yes
checking whether the compiler supports __alignof__... yes
checking for struct tm.tm_gmtoff... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blocks... yes
checking for uid_t... yes
checking for gid_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr.sa_len... no
checking for __attribute__((ifunc))... yes
checking for __attribute__((target))... yes
checking for variable __attribute__((aligned))... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for asprintf... yes
checking for chroot... yes
checking for ctime_r... yes
checking for explicit_memset... no
checking for fdatasync... yes
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for getcwd... yes
checking for getgrnam_r... yes
checking for gethostname... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getrusage... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for glob... yes
checking for gmtime_r... yes
checking for lchown... yes
checking for localtime_r... yes
checking for memcntl... no
checking for memfd_create... yes
checking for memmem... yes
checking for mempcpy... yes
checking for memrchr... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nice... yes
checking for nl_langinfo... yes
checking for poll... yes
checking for pthread_jit_write_protect_np... no
checking for putenv... yes
checking for scandir... yes
checking for setenv... yes
checking for setitimer... yes
checking for shutdown... yes
checking for sigprocmask... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strnlen... yes
checking for strptime... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vasprintf... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... yes
checking for sys/prctl.h... yes
checking for prctl... yes
checking for sys/procctl.h... no
checking how many arguments gethostbyname_r() takes... six
checking for nanosleep... yes
checking for getaddrinfo... yes
checking for copy_file_range... yes
checking for strlcat... no
checking for strlcpy... no
checking for explicit_bzero... yes
checking for getopt... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for type of reentrant time-related functions... POSIX
checking for aarch64 CRC32 API... no
checking for asm goto... yes
checking whether to enable Valgrind support... no

�[1mGeneral settings�[m
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking whether to enable debug assertions in release mode... no
checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY... no
checking layout of installed files... PHP
checking path to configuration file... /home/jeremy/.phpbrew/php/php-8.4.2/etc/apache2
checking where to scan for configuration files... /home/jeremy/.phpbrew/php/php-8.4.2/var/db/apache2
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking for IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

�[1mConfiguring extensions�[m
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking whether the C compiler accepts -Wno-implicit-fallthrough... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.9.4... yes
checking for OpenSSL support... yes
checking whether to use system default cipher list instead of hardcoded value... no
checking whether to load legacy algorithm provider... no
checking whether to enable argon2 password hashing (requires OpenSSL >= 3.2)... no
checking for openssl >= 1.1.1... yes
checking for RAND_egd in -lcrypto... no
checking whether to enable PCRE JIT functionality... yes
checking for PCRE library to use... bundled
checking whether the C compiler accepts -Wno-implicit-fallthrough... (cached) yes
checking whether Intel CET is enabled... yes
checking whether to enable the SQLite3 extension... no
checking for ZLIB support... yes
checking for zlib >= 1.2.11... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... no
checking for cURL support... yes
checking for libcurl >= 7.61.0... yes
checking for SSL support in libcurl... yes
checking for curl_easy_perform in -lcurl... 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 dl-test extension... no
checking whether to enable DOM support... yes
checking for libxml-2.0 >= 2.9.4... 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... no
checking whether to enable FTP support... no
checking whether to enable FTP over SSL support... yes
checking for GD support... no
checking for external libgd... no
checking for libavif... no
checking for libwebp... no
checking for libjpeg... no
checking for libXpm... no
checking for FreeType 2... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for GNU gettext support... no
checking for GNU MP support... no
checking for mhash support... no
checking size of long... (cached) 8
checking if we're at 64-bit platform... yes
checking for iconv support... no
checking whether to enable internationalization support... no
checking for LDAP support... no
checking whether to build with LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... yes
checking if oniguruma has an invalid entry for KOI8 encoding... yes
checking for MySQLi support... no
checking for specified location of the MySQL Unix socket... no
checking for Adabas support... no
checking for SAP DB support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress support... no
checking for Empress local access support... no
checking for a custom ODBC support... no
checking whether to build with iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking whether to build with unixODBC support... no
checking for DBMaker support... no
checking for any ODBC driver support... no
checking whether to enable Zend OPcache support... yes
checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
checking whether to enable JIT... yes
checking whether to support opcache JIT disassembly through Capstone... no
checking for mprotect... yes
checking for shm_create_largepage... no
checking for sysvipc shared memory support... yes
checking for mmap() using MAP_ANON shared memory support... yes
checking for library containing shm_open... none required
checking for mmap() using shm_open() shared memory support... yes
checking whether to enable pcntl support... no
checking whether to enable PDO support... yes
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... no
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 support for PDO... no
checking for PostgreSQL support... no
checking for phar archive support... yes
checking for phar openssl support... yes
checking whether to enable POSIX-like functions... no
checking whether arc4random_buf is declared... no
checking for CommonCrypto/CommonRandom.h... no
checking for getrandom... yes
checking for libedit readline replacement... no
checking for readline support... no
checking whether to enable PHP sessions... yes
checking for mm support... no
checking whether pwrite works... yes
checking whether pread works... yes
checking whether to enable shmop support... no
checking whether to enable SimpleXML support... yes
checking for libxml-2.0 >= 2.9.4... yes
checking for SNMP support... no
checking whether to enable SOAP support... no
checking whether to enable sockets support... no
checking for sodium support... no
checking whether flush should be called explicitly after a buffered io... no
checking for external libcrypt or libxcrypt... no
checking for working POSIX fnmatch... yes
checking for fork... yes
checking if your OS can spawn processes with inherited handles... yes
checking for res_nsearch... yes
checking for res_ndestroy... no
checking for __res_ndestroy... no
checking for res_ndestroy in -lresolv... no
checking for __res_ndestroy in -lresolv... no
checking for res_ndestroy in -lsocket... no
checking for __res_ndestroy in -lsocket... no
checking for dns_search... no
checking for __dns_search... no
checking for dns_search in -lresolv... no
checking for __dns_search in -lresolv... no
checking for dns_search in -lsocket... no
checking for __dns_search in -lsocket... no
checking for dn_expand... yes
checking for dn_skipname... yes
checking for res_search... yes
checking for posix_spawn_file_actions_addchdir_np... yes
checking for elf_aux_info... no
checking whether strptime is declared... yes
checking for Argon2 support... no
checking for net/if.h... yes
checking for usable getifaddrs... yes
checking whether to enable System V IPC support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for TIDY support... no
checking whether to enable tokenizer support... yes
checking whether to enable XML support... yes
checking whether to build with Expat support... no
checking for libxml-2.0 >= 2.9.4... yes
checking whether to enable XMLReader support... yes
checking for libxml-2.0 >= 2.9.4... yes
checking whether to enable XMLWriter support... yes
checking for libxml-2.0 >= 2.9.4... yes
checking whether to build with XSL support... yes
checking for libxslt >= 1.1.0... yes
checking for libexslt... yes
checking whether to enable zend_test extension... no
checking for zip archive read/write support... no
checking whether to enable mysqlnd... no
checking whether to enable extended SSL support in mysqlnd... yes
checking whether to enable compressed protocol support in mysqlnd... yes
checking linker support for -zcommon-page-size=2097152... yes

�[1mConfiguring PEAR�[m
checking whether to install PEAR... no

�[1mConfiguring Zend�[m
checking whether syscall to create shadow stack exists... no
checking for fiber switching context... x86_64_sysv_elf_gas
checking for dlfcn.h... (cached) yes
checking for cpuid.h... yes
checking for libproc.h... no
checking for getpid... yes
checking for gettid... yes
checking for kill... yes
checking for mremap... yes
checking for pthread_attr_get_np... no
checking for pthread_attr_getstack... yes
checking for pthread_get_stackaddr_np... no
checking for pthread_getattr_np... yes
checking for pthread_stackseg_np... no
checking for sigsetjmp... no
checking whether sigsetjmp is declared... yes
checking whether the stack grows downwards... yes
checking for usable _FPU_SETCW... yes
checking for usable fpsetprec... no
checking for usable _controlfp... no
checking for usable _controlfp_s... no
checking whether FPU control word can be manipulated by inline assembler... yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking whether system supports global register variables... yes
checking whether to enable global register variables support... yes
checking whether __cpuid_count is available... yes
checking whether to enable thread safety... no
checking whether to enable Zend debugging... no
checking whether the C compiler accepts -Wno-clobbered... yes
checking whether the C compiler accepts -Wimplicit-fallthrough=1... yes
checking whether the C compiler accepts -Wduplicated-cond... yes
checking whether the C compiler accepts -Wlogical-op... yes
checking whether the C compiler accepts -Wformat-truncation... yes
checking whether the C compiler accepts -Wstrict-prototypes... yes
checking whether the C compiler accepts -fno-common... yes
checking for Zend memory manager alignment and log values... (size_t)8 (size_t)3 0
checking for sigaction... yes
checking whether to enable Zend signal handling... yes
checking whether to enable Zend max execution timers... no

�[1mConfiguring libtool�[m
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes

creating libtool
appending configuration tag "CXX" to libtool

�[1mGenerating files�[m
configure: not updating unwritable cache /home/jeremy/.phpbrew/cache/config.cache
configure: creating build directories
configure: creating Makefile
configure: patching main/php_config.h.in
configure: creating ./config.status
config.status: creating sapi/phpdbg/phpdbg.1
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/build-defs.h
config.status: creating scripts/man1/php-config.1
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/phpize
config.status: creating main/php_config.h
config.status: executing apache2handler commands
config.status: WARNING:
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You have built PHP for Apache's current non-threaded MPM.          |
| If you change Apache to use a threaded MPM you must reconfigure    |
| PHP with --enable-zts                                              |
+--------------------------------------------------------------------+
  
config.status: executing Zend/zend_config.h commands
config.status: executing main/internal_functions.c commands
config.status: executing main/internal_functions_cli.c commands
config.status: executing default commands

+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE. By continuing this installation  |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

make: ***  Aucune règle pour fabriquer la cible « libphp8.4.2.la », nécessaire pour « all ». Arrêt.

Platform

OS:

Ubuntu 22.04

phpbrew - 2.2.0
cliframework core: 2.5.4

Running PHP:

  PHP 8.1.2-1ubuntu2.20 (cli) (built: Dec  3 2024 20:14:35) (NTS)
  Copyright (c) The PHP Group
  Zend Engine v4.1.2, Copyright (c) Zend Technologies
      with Zend OPcache v8.1.2-1ubuntu2.20, Copyright (c), by Zend Technologies
      with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans

Installing PHP:

8.4 with Apache2 support for Laravel usage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions