Author Topic: Unable to compile ANY version with PHP Switcher and Selector / FPM selector  (Read 6419 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
Re: Unable to compile ANY version with PHP Switcher and Selector / FPM selector
« Reply #15 on: September 16, 2025, 12:02:55 AM »
I'm always glad to help, too -- but my familiarity is with CentOS 7 and AlmaLinux 8 systems. So best to let Starburst field this AL9 oddity.
Yes, please any OLD CentOS 7 stuff, please ask the OLD person - @overseer ...  8)

I hope you realize you walked into that one...   ;D

Offline
*****
Re: Unable to compile ANY version with PHP Switcher and Selector / FPM selector
« Reply #16 on: September 16, 2025, 12:47:54 AM »
Graybeard, yes.

Offline
*
Re: Unable to compile ANY version with PHP Switcher and Selector / FPM selector
« Reply #17 on: September 25, 2025, 01:51:03 AM »
Just a heads-up info..Checking the old logs, I came up with OK upgrades with PHP-FPM until Dec 19th 2024 whick was the release date my server got the latest and the greatest update that it got. At that date the newest were my servers PHP-FPM versions:

8.0.30
8.1.31
8.2.27
8.3.15

Offline
*****
Re: Unable to compile ANY version with PHP Switcher and Selector / FPM selector
« Reply #18 on: September 25, 2025, 06:43:14 AM »
0.9.8.1216 supports:

8.1.33 - EOL 2026-01-01
8.2.29 - EOL 2027-01-01
8.3.25 - EOL 2028-01-01

PHP 8.0.x is EOL.

https://www.php.net/supported-versions.php

Offline
*
I can confirm that the reply by jdrews on August 07, 2025 works to install the latest PHP 8.1, 8.2 & 8.3 versions. I have servers on AlmaLinux 8 and RockLinux 8 and this works for both these operating systems.   :)

There was a typo in the file name which I have corrected in the steps below:

- Start the build process via the UI
- in a terminal window to the server, cd to /usr/local/src
- copy the php-build.sh to some place else (don't delete, just cp)
- once the build process completes (and fails), on a terminal window
- cd /usr/local/src
- cp php-build.sh  to the /usr/local/src directory (since the UI build process removes it)
- now do a "sh php-build.sh"

I personally used the File Manager to copy and later move the file and only used the terminal window to:
cd /usr/local/src
sh php-build.sh

Offline
*****
And I can confirm the workaround works with legacy PHP versions (7.4.33) on AlmaLinux 8.