Topic: Upgrade PHP 5.4.45 to 5.6.22 on CentOS 5.6
Hi everyone, I'd like to start my request for assistance by adding some background context, with the hopes that you knowledgeable folks will be patient as I am not well versed in server administration. I need to update my version of PHP on my server to run some software, and unfortunately my host does not offer support for what I'm trying to to do. I know some basics of system administration; I can navigate around the server, edit some files using vi editor, run some SQL commands, but my experience is close to zero when it comes to updating software using rpm, wget and yum. My biggest concern here is that I'm going to do something that damages the server, as I'm obviously running things as root. That being said, I hope someone can give me some specific advice (commands) to perform this PHP update I need.
This is a CentOS 5.6 system with Plesk 12.5.3, MySQL 5.5.46 and an upgraded version of PHP 5.4.45 from the default 5.3. I performed the PHP upgrade from 5.3 following the instructions from https://kb.plesk.com/en/115833. From here on, it's unclear to me whether a) it's necessary to uninstall PHP 5.4.45 or b) I should just directly try to update to 5.6.22.
Trying the a) yum remove, I get prompted to removing a bunch of "psa-" packages "Removing for dependencies" "Is this ok". I don't think that's what I want to do as it looks to be Plesk stuff it's trying to remove.
Trying the b) yum update from Remi's wizard, it looks like there are a lot of packages "set to be updated", not just PHP. Then there is a bunch of "missing dependency" messages related to mysql-libs, mysql-server, and mysql.
Can someone please provide some guidance on how to upgrade PHP?
I'm running these commands from the /root directory.
If there are any other informations needed from me to help troubleshoot, please let me know and I'll provide.