Steps to remove PHP version from command line

kumkumsharma

Administrator
Staff member
Sometimes we need to remove particular PHP version. For that you can follow below steps:

If you want to remove all PHP packages for any particular version then you can use this command:

For EA4 packages:

Code:
yum remove ea-phpxx*
For alt-php (CloudLinux) packages:

Code:
yum remove alt-phpxx*
Here xx is particular PHP version.
 
Top