Author Topic: PHP Switcher version in Almalinux 9  (Read 1927 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
PHP Switcher version in Almalinux 9
« on: May 06, 2024, 08:14:09 PM »
I currently have two vps running on Almalinux 8.9, cwp pro.
As 8.9 reaches EOL soon, I have taken a VPS to do the migrations (VPSold to VPSnew, reconfigure VPS with Almalinux 9.x) and then, VPS new to VPS old.
Obviously, the new VPS that I use for this, I will do it from one account to one account, so I don't put CWP pro on it and I don't have access to PHP FPM (I don't need it).
My surprise was that PHP Switcher does not take me any version lower than php 7.4.33, I need php 7.1.33 but I can't.

Is there any limitation or am I doing something wrong?

Offline
*****
Re: PHP Switcher version in Almalinux 9
« Reply #1 on: May 06, 2024, 08:48:07 PM »
AlmaLinux 8.x EOL in 2029. That's soon??

AlmaLinux 9 is only 3 years behind that in 2032.

Reference: https://wiki.almalinux.org/FAQ.html

As far as PHP on the beta.
Right on: https://control-webpanel.com/installation-instructions#step4
"CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported."

So only the built-in 7.4.33 is currently working in the beta.
Bug report has been submitted that 8.3.x isn't working.

Again, CWP for EL9 is currently in beta.

I am sure they are working as fast as they can to get it ready.

Offline
**
Re: PHP Switcher version in Almalinux 9
« Reply #2 on: May 06, 2024, 08:56:25 PM »
AlmaLinux 8.x EOL in 2029. That's soon??

AlmaLinux 9 is only 3 years behind that in 2032.

Reference: https://wiki.almalinux.org/FAQ.html
Correct, Almalinux 8 ends in 2029 but Security Support, Active Support already ended on May 1 of this year.
https://endoflife.date/almalinux

Since it is a VPS to do the migrations, I don't mind putting Almalinux 8 or 9, but... I would have liked to be able to do the migrations to Almalinux 9, through Active Support.

Quote
As far as PHP on the beta.
Right on: https://control-webpanel.com/installation-instructions#step4
"CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported."

So only the built-in 7.4.33 is currently working in the beta.
Bug report has been submitted that 8.3.x isn't working.

Again, CWP for EL9 is currently in beta.

I am sure they are working as fast as they can to get it ready.
Ok, that explains everything, because of what happens to me regarding the PHP version (I don't know if this also happens in the Pro version of CWP).
Anyway, knowing that it is in beta and that they are working on it...ok, if I had known (when I looked at the installation instructions, your link, I didn't pay attention to the beta note and the PHP issue... I had it in front of me and I didn't see it... :( )

I thank you for your prompt and detailed reply, it has clarified everything for me.

Now I will wait for this issue to be resolved.

That said, thank you.
« Last Edit: May 06, 2024, 08:58:33 PM by Wonder »

Offline
*****
Re: PHP Switcher version in Almalinux 9
« Reply #3 on: May 07, 2024, 09:31:02 AM »
Please use the Official websites for updates:

https://wiki.almalinux.org/FAQ.html

And not 3rd party websites like you listed, that have inaccurate information.
That was based on the old CentOS 8 timetable that went out the window last year.

AlmaLinux 8.x is still in Active support and development (Along with TuxCare for FIPS), as 8.10 is in beta as well as 9.4.

Offline
**
Re: PHP Switcher version in Almalinux 9
« Reply #4 on: May 07, 2024, 07:30:59 PM »
Ok, thanks for the info, I had always noticed that, I put eol almalinux in Google and...
I'll note that, thanks for the link.

Offline
**
Re: PHP Switcher version in Almalinux 9
« Reply #5 on: June 07, 2024, 10:39:52 AM »
Sorry for bumping this thread.

My provider, where do I have the VPS, when I want to install Almalinux 8, I see that it is not available, I write to them and they answer me:
"Thank you for your email.
Unfortunately CentOS 8 has reached its EOL, thus we do not support it anymore."

Well, through contacting them, enabling cloud init, I can choose Almalinux 8 and I can install it, but there must be some difference, as soon as I change the ssh port I need to enter the command:
Code: [Select]
semanage port -a -t ssh_port_t -p tcp NUMBERPORTWithout this, I do not access.

Well, everything installed, everything perfect, summary:

I reinstalled Almalinux 9, everything is going well, the PHP version I need, but... it is still in beta, it does not allow cwp to cwp migration, no matter how much I disable firewall on both servers, it always gives a failed to connect.

Same server, Almalinux 8 installed, cwp to cwp without problems, but... I find that I cannot enable the firewall, no matter how much I press enable, it does nothing at all.

Can you think of a cause?

Thank you and greetings.

Offline
***
Re: PHP Switcher version in Almalinux 9
« Reply #6 on: June 08, 2024, 02:05:30 AM »
You have enabled selinux on your server in enforcing mode. The ideal operation for selinux is to enable it in permissive mode, and only after resolving the error messages, then enable it in enforcing mode. It is not possible to install any web server management software with selinux enabled by default in enforcing mode, before operating it. You would have to work so much to solve the problems that it wouldn't be worth it. The best you can do is disable selinux, or only enable it in permissive mode, while you watch potential error messages.

Regards,
Netino

Offline
**
Re: PHP Switcher version in Almalinux 9
« Reply #7 on: June 08, 2024, 07:24:17 AM »
Thanks for the reply.
I figured that, in that way, I was enabling selinux or... (my knowledge is not that great).
I enable cloud init, and that way, if I have been able to install Almalinux 8 (and I could other previous versions and my own image) without problems, it is an option of my VPS...
Regarding selinux, after installing Almalinux with cloud init, I have seen that in the /etc/sysconfig/selinux file it is disable, so I deduce that it does not have selinux (just a deduction).

About the problem of enabling CSF, I was able to solve it, I had to run: yum install iptables.
Iptables was not installed, and therefore CSF was not enabled.

For the rest, I've been testing since yesterday and it works well, there is an email that I receive every time I restart that I had never seen before, but I will explain that in another thread, I think it does not apply here :)

Thank you so much for your answer!

Offline
*****
AlmaLinux 9 & CWP
« Reply #8 on: June 08, 2024, 07:29:54 AM »
Just as an FYI, what I've found good is to install the following before CWP on AL 9, some may already be installed, but better safe than ...:

Code: [Select]
dnf install dnf-plugins-core

dnf install elrepo-release epel-release -y

/usr/bin/crb enable

dnf install nano wget ipset ebtables iptables uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf -y

dnf --refresh update

Offline
**
Re: AlmaLinux 9 & CWP
« Reply #9 on: June 08, 2024, 07:35:29 AM »
Just as an FYI, what I've found good is to install the following before CWP on AL 9, some may already be installed, but better safe than ...:

Code: [Select]
dnf install dnf-plugins-core

dnf install elrepo-release epel-release -y

/usr/bin/crb enable

dnf install nano wget ipset ebtables iptables uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf -y

dnf --refresh update

Thank you very much for this information, I will write it down in my important notepad about cwp.

I had to install Almalinux8, the server that I had running was not working at all, and my host did not solve it, when I installed Almalinux9 2, 3 or 4 days ago, I could see that the PHP version is correct for me but... ..it does not do cwp to cwp migration (origin Almalinux 8 destination Almalinux 9).

I'll try what you tell me, see if it allows it...

Again, thank you very much!