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

0 Members and 1 Guest 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.


Offline
*
Re: PHP-FPM on AlmaLinux 9
« Reply #3 on: January 15, 2025, 11:58:01 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.")

You are quick to say "That's not supported.  It's in Beta.... but slow to read what I said.

Had you read the log excerpt you would see clearly that I was trying to use 8.1.0 in that example. I have tried probably 4-5 other PHP versions and the only one that DID build completely was 8.0.

Want to try again?

Offline
*****
Re: PHP-FPM on AlmaLinux 9
« Reply #4 on: January 16, 2025, 12:19:58 AM »
No, not really with a caustic attitude like that.

Offline
***
Re: PHP-FPM on AlmaLinux 9
« Reply #5 on: January 16, 2025, 12:53:28 AM »
The last lines of log demonstrated by you don't show any errors. It could happen if there were more than one compilation process (make -jX) . So if some job failed the other processes could work still and show no errors. Check the whole log closely to investigate the problem. It could not just disappear.

Offline
*
Re: PHP-FPM on AlmaLinux 9
« Reply #6 on: January 16, 2025, 11:12:22 PM »
PHP-FPM  8 does install on alma 9

« Last Edit: January 16, 2025, 11:15:58 PM by Martins-phpbb »