Home  >  Article  >  Operation and Maintenance  >  How to delete php7 from centos7

How to delete php7 from centos7

王林
王林Original
2020-09-03 15:03:282935browse

How to delete php7 from centos7

How to delete php7 from centos7:

(Recommended tutorial: php video tutorial)

1. First find out the installed php package;

[root@xxx php-memcached]# rpm -qa | grep php
php70w-common-7.0.33-1.w7.x86_64
php70w-devel-7.0.33-1.w7.x86_64
php70w-7.0.33-1.w7.x86_64
php70w-cli-7.0.33-1.w7.x86_64

(Related recommendation: php training)

2. Then uninstall them all.

rpm -e php70w-7.0.33-1.w7.x86_64
rpm -e php70w-devel-7.0.33-1.w7.x86_64
rpm -e php70w-cli-7.0.33-1.w7.x86_64
rpm -e php70w-common-7.0.33-1.w7.x86_64

The above is the detailed content of How to delete php7 from centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn