I've been trying to upgrade PHP on a linux server. Using the instructions given on this page I ran this command:
sudo yum remove php php-cli php-common php-devel php-gd php-mbstring
Somehow, ever since I ran that, it seems to have removed sudo and yum from the server as well. Now if I do sudo
or yum
I get the error: command not found.
How can I add these back?
Note: I'm using centos