Hi, I have followed instructions for the last hour to install PHP 8.1.1 and have been unsuccessful, can someone please help me?
Thanks
How to switch PHP version from 7.4 to 8.1?
Re: How to switch PHP version from 7.4 to 8.1?
Which instructions have you tried to follow ?
PHP 8.1 is not available in official repositories
C7 is terribly old and close to its end of life, so for modern features, I recommend a modern distribution (C8 or C9 or some other RHEL clones)
Simple way is to use "remi" repository, see https://rpms.remirepo.net/wizard/
PHP 8.1 is not available in official repositories
C7 is terribly old and close to its end of life, so for modern features, I recommend a modern distribution (C8 or C9 or some other RHEL clones)
Simple way is to use "remi" repository, see https://rpms.remirepo.net/wizard/
Re: How to switch PHP version from 7.4 to 8.1?
Why is it that when someone asks a straightforward question there will almost always be people who feel the need to give lectures on how everyone should always be using the latest shiny object version instead?
Continuing to use CE7 is fine. Here is the simple direct answer to the question assuming you are already using remi for PHP. I am not sure what the procedure is if not using remi.
Continuing to use CE7 is fine. Here is the simple direct answer to the question assuming you are already using remi for PHP. I am not sure what the procedure is if not using remi.
Code: Select all
yum install epel-release
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum install yum-utils -y
yum-config-manager --enable remi-php81
yum update
Re: How to switch PHP version from 7.4 to 8.1?
You know you are replying to the Remi who maintains the php stack here, right?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: How to switch PHP version from 7.4 to 8.1?
a professional strategy for migrating to a newer version should start now. Centos 7 will die soon and reporting this is always important