Question
How do I remove a PHP version from the command line?
Answer
To remove all PHP packages for a specific PHP version, use this command, where xx represents the version to remove.
For EA4 (cPanel) packages:
# yum remove ea-phpxx*
For alt-php (CloudLinux) packages:
# yum remove alt-phpxx*
For example, to remove all EA4 PHP packages for PHP 5.5, run this command:
# yum remove ea-php55*
This removes the primary ea-php55 package and all of its associated packages.
Comments
0 comments
Article is closed for comments.