Author Topic: install PHP 5.6. on entOS Stream release 9 ?  (Read 85 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
install PHP 5.6. on entOS Stream release 9 ?
« on: April 19, 2025, 01:18:19 PM »
Good evening....
How are you...?
I have a full server running on the system CentOS Stream release 9 .
I need to install PHP 5.6. I have my own software that requires this version.

Offline
*****
Re: install PHP 5.6. on entOS Stream release 9 ?
« Reply #1 on: April 19, 2025, 06:54:40 PM »
AlmaLinux 9 is more recommended for server use than a beta-quality OS such as CentOS Stream. That said, you can install 5.6 via a 3rd party repository (Raven Modular):
https://rhel.pkgs.org/9/raven-modular-x86_64/php56-php-cli-5.6.40-38.el9.x86_64.rpm.html

Offline
*
Re: install PHP 5.6. on entOS Stream release 9 ?
« Reply #2 on: April 19, 2025, 09:02:28 PM »
Please provide me with the installation method.

Offline
*****
Re: install PHP 5.6. on entOS Stream release 9 ?
« Reply #3 on: Today at 01:41:37 AM »
Add the 3rd party repository (community version of EPEL) per these instructions:
https://www.simplified.guide/redhat-centos-fedora/repo-raven-install
Then install the PHP 5.6 package (with dependencies):
Code: [Select]
dnf --enablerepo=raven-modular install --assumeyes php56-php-cli(untested by me)

Offline
*****
Re: install PHP 5.6. on entOS Stream release 9 ?
« Reply #4 on: Today at 03:21:09 AM »
1. CentOS Stream is a beta OS, not for production.
The recommended version are AlmaLinux 8 or 9.

2.Officially the lowest PHP version you go with EL9 and CWP is 7.4.33
If you need a lower PHP, you will need to install EL8.

I found this, but whatever server I try it on, it says Cloudflare has blocked me.

Code: [Select]
sudo dnf -y install https://pkgs.dyn.su/el9/base/x86_64/raven-release.el9.noarch.rpm
Code: [Select]
dnf config-manager --enable raven-modular
I am curious, let me know if you get a really old version of PHP to work.

Offline
*
Re: install PHP 5.6. on SentOS Stream release 9 ?
« Reply #5 on: Today at 06:11:06 AM »
The codes didn't work. They're banned.
The reason I chose SentOS Stream is because it's the only system that works on my server without problems and stably.