[php-src] Issue #8097: PHP 7.4.27 can't compile
| From: | mpepito13 | Date: | Tue, 15 Feb 2022 19:44:54 +0000 |
| Subject: | [php-src] Issue #8097: PHP 7.4.27 can't compile | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239824@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8097
Comment Author: mpepito13
> Also note that PHP 7.4 is no longer [actively
> supported](https://www.php.net/supported-versions.php); do you have the same issue with PHP 8.0 or
> 8.1?
Thanks for the advice ! The compilation is fine with PHP 8.1 ! Unfortunately my code is far from
being compatible…
> Please post the relevant parts of config.log.
I'm not sure what could be relevant in the config.log so here is the begining :
$ ./configure --prefix=/Applications/Webserver/php-7.4.27
--with-apxs2=/Applications/Webserver/httpd-2.4.52/bin/apxs
--with-config-file-path=/Applications/Webserver/php-7.4.27 --with-curl
--with-libxml=/Applications/Webserver/libxml2-2.9.12 --with-openssl
--with-pdo-sqlite=/Applications/Webserver/sqlite-3.37.2
--with-sqlite3=/Applications/Webserver/sqlite-3.37.2 --with-zip --disable-cli --disable-mbregex
--disable-phar
## --------- ##
## Platform. ##
## --------- ##
hostname = iMac-de-arnaud.local
uname -m = x86_64
uname -r = 17.7.0
uname -s = Darwin
uname -v = Darwin Kernel Version 17.7.0: Mon Aug 31 22:11:23 PDT 2020;
root:xnu-4570.71.82.6~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 17.7.0: Mon Aug 31 22:11:23 PDT 2020;
root:xnu-4570.71.82.6~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
4 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 6.00 gigabytes
Default processor set: 341 tasks, 1418 threads, 4 processors
Load average: 1.46, Mach factor: 2.53
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
and another part that could be interesting :
configure:58687: checking for sqlite3_column_table_name in -lsqlite3
configure:58712: cc -o conftest -I/usr/include -g -O2 -fvisibility=hidden -pthread
-no-cpp-precomp -liconv -L/usr/lib -Wl,-rpath,/Applications/Webserver/libxml2-2.9.12/lib
-L/Applications/Webserver/libxml2-2.9.12/lib -Wl,-rpath,/Applications/Webserver/openssl-1.1.1h/lib
-L/Applications/Webserver/openssl-1.1.1h/lib -Wl,-rpath,/Applications/Webserver/sqlite-3.37.2/lib
-L/Applications/Webserver/sqlite-3.37.2/lib -Wl,-rpath,/Applications/Webserver/curl-7.81.0/lib
-L/Applications/Webserver/curl-7.81.0/lib conftest.c -lsqlite3 -liconv -liconv -lm -lpthread
-lxml2 -lssl -lcrypto -lsqlite3 -lcurl -lxml2 -lsqlite3 >&5
configure:58712: $? = 0
configure:58721: result: yes