I have installed 5.6 using the guide here. https://www.virtualmin.com/documentation/web/multiplephp#toc-installing-... Then I have tried to run the replace command. yum replace php-common --replace-with=rh-php56-php-common
But when I try to run php -v it doesn't get the command. When trying to restart the httpd service it can't locate the php process
What do I miss here? I am running Centos 7.
PS. To get the yum-replace-plugin installed I followed the following. To use the IUS packages in CentOS 7:
- Install EPEL and IUS repositories:
- Install yum-plugin-replace and replace the php packages with php56u packages:
- Restart any services which depend on php, such as httpd.