Author Topic: PHP-FPM on AlmaLinux 9  (Read 143 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
PHP-FPM on AlmaLinux 9
« on: January 09, 2025, 05:29:52 PM »
Is there some reason why nothing nwere than PHP-FPM 8.0.x will build in AlmaLinux 9?

In AlmaLinux 9.5 with the current CWP the build log runs and just stops without error without completing.

PHP 8.1 was released on November 25, 2021.  Why doesn't it build on our current version? I've tried several builds newer than 8.0.x and they all failed in essentially the same way.

Here are the last few lines of the log from trying to build 8.1.0:

Code: [Select]
/bin/sh /usr/local/src/php-build/php-8.1.0/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/src/php-build/php-8.1.0/ext/fileinfo/ -I/usr/local/src/php-build/php-8.1.0/include -I/usr/local/src/php-build/php-8.1.0/main -I/usr/local/src/php-build/php-8.1.0 -I/usr/local/src/php-build/php-8.1.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/opensslso/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/imap -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/src/php-build/php-8.1.0/TSRM -I/usr/local/src/php-build/php-8.1.0/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -I/usr/local/src/php-build/php-8.1.0/ext/fileinfo/libmagic -c /usr/local/src/php-build/php-8.1.0/ext/fileinfo/libmagic/der.c -o ext/fileinfo/libmagic/der.lo  -MMD -MF ext/fileinfo/libmagic/der.dep -MT ext/fileinfo/libmagic/der.lo
/bin/sh /usr/local/src/php-build/php-8.1.0/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/src/php-build/php-8.1.0/ext/fileinfo/ -I/usr/local/src/php-build/php-8.1.0/include -I/usr/local/src/php-build/php-8.1.0/main -I/usr/local/src/php-build/php-8.1.0 -I/usr/local/src/php-build/php-8.1.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/opensslso/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/imap -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/src/php-build/php-8.1.0/TSRM -I/usr/local/src/php-build/php-8.1.0/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -I/usr/local/src/php-build/php-8.1.0/ext/fileinfo/libmagic -c /usr/local/src/php-build/php-8.1.0/ext/fileinfo/libmagic/buffer.c -o ext/fileinfo/libmagic/buffer.lo  -MMD -MF ext/fileinfo/libmagic/buffer.dep -MT ext/fileinfo/libmagic/buffer.lo
/bin/sh /usr/local/src/php-build/php-8.1.0/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/usr/local/src/php-build/php-8.1.0/ext/fileinfo/ -I/usr/local/src/php-build/php-8.1.0/include -I/usr/local/src/php-build/php-8.1.0/main -I/usr/local/src/php-build/php-8.1.0 -I/usr/local/src/php-build/php-8.1.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/opensslso/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/imap -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/src/php-build/php-8.1.0/TSRM -I/usr/local/src/php-build/php-8.1.0/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -I/usr/local/src/php-build/php-8.1.0/ext/fileinfo/libmagic -c /usr/local/src/php-build/php-8.1.0/ext/fileinfo/libmagic/is_csv.c -o ext/fileinfo/libmagic/is_csv.lo  -MMD -MF ext/fileinfo/libmagic/is_csv.dep -MT ext/fileinfo/libmagic/is_csv.lo
/bin/sh /usr/local/src/php-build/php-8.1.0/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/filter/ -I/usr/local/src/php-build/php-8.1.0/ext/filter/ -I/usr/local/src/php-build/php-8.1.0/include -I/usr/local/src/php-build/php-8.1.0/main -I/usr/local/src/php-build/php-8.1.0 -I/usr/local/src/php-build/php-8.1.0/ext/date/lib -I/usr/include/libxml2 -I/usr/local/opensslso/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/imap -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl -I/usr/local/src/php-build/php-8.1.0/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/src/php-build/php-8.1.0/TSRM -I/usr/local/src/php-build/php-8.1.0/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/local/src/php-build/php-8.1.0/ext/filter/filter.c -o ext/filter/filter.lo  -MMD -MF ext/filter/filter.dep -MT ext/filter/filter.lo

Offline
*****
Re: PHP-FPM on AlmaLinux 9
« Reply #1 on: January 09, 2025, 06:26:10 PM »
Yes, 8.0 is not compatible with EL9 releases. You must use 8.1, 8.2, 8.3.
(As Stan Lee used to say, "'Nuff said.")

Offline
*
Re: PHP-FPM on AlmaLinux 9
« Reply #2 on: January 09, 2025, 07:43:04 PM »
I think you misread my query.

I CAN NOT use anything newer than 8.0.x. 

I WANT to use 8.1 or better.

Distro Name: AlmaLinux release 9.5 (Teal Serval)
CWPpro version: 0.9.8.1190

Nothing newer than PHP 8.0.x will compile.