Created on 19 Apr 2013 ;    Modified on 19 Apr 2013 ;    Translationitalian

Installing PHP in CentOS

When you install php in CentOS, usually you use the commands shell and you give the command:

yum install php

In this way yum also installs the dependencies php-cli and php-common.

But remember that uninstalling the only module php, doesn't remove dependencies. To restore the environment to its initial conditions is necessary to uninstall php-common, or indicate all three modules:

yum erase php-common php-cli php