I am having trouble re-installing PHP via yum on my server hosted by digital ocean.
I had PHP 5.4 installed but wanted 5.6. I added/enabled the remi repo\'s, ran
I fixed it! The issue was that I had the wrong version of EL installed. I removed all my extra repo's, removed all php packages, removed httpd. Ran the following:
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum clean
yum update
I was then able to install PHP using the following
yum install php56w php56w-opcache php56w-mcrypt php56w-pdo php56w-mysql