Upgrading PHP on CentOS 8
Hello Everyone,
I am currently running PHP 7.2.11 on CentOS 8. I used the Remi repo to install it. My application now requires PHP 7.3 to run. Can I upgrade from 7.2 to 7.3 by enabling the PHP 7.3 Remi module? or first, I would have to remove PHP 7.2.11 from my system? Please advise Thank you |
I recommend to remove the older installation first. I guess things become pretty complicated when you try to run 2 versions of PHP simultaneously.
|
According to Remi's instructions you don't have to remove the packages, they should be upgraded in place. But I would also reset the php module beforehand, i.e.
Code:
dnf module reset php |
When they get updated in place it is ok of course. I did not know that.
|
shruggy, thank you so much for the link. I did not know you could upgrade in place.
Thanks J-ray for your input as well. |
I upgraded to PHP 7.3 successfully.
Thank you all! |
All times are GMT -5. The time now is 01:52 AM. |