Home  >  Article  >  Backend Development  >  What are the steps to uninstall Linux php

What are the steps to uninstall Linux php

藏色散人
藏色散人Original
2021-09-16 09:16:393696browse

Linux php uninstall steps: 1. Execute "rpm -e php-mysql-5.1.6-27.el5_5.3"; 2. Execute "rpm -e php-pdo-5.1.6-27. el5_5.3"; 3. Execute "rpm -e php-xml-5.1.6" and so on.

What are the steps to uninstall Linux php

The operating environment of this article: linux5.9.8 system, PHP5 version, Dell G3 computer

What are the steps to uninstall Linux php?

linux uninstall php

Uninstall:

rpm -qa | grep php

So the correct uninstallation sequence is:

# rpm -e php-mysql-5.1.6-27.el5_5.3  --allmatches #同名全部卸载
# rpm -e php-pdo-5.1.6-27.el5_5.3  --nodeps #依赖强制
# rpm -e php-xml-5.1.6-27.el5_5.3 
# rpm -e php-cli-5.1.6-27.el5_5.3 
# rpm -e php-gd-5.1.6-27.el5_5.3 
# rpm -e php-common-5.1.6-27.el5_5.3
再用# php -v

There is no prompt to view the version information

Mysql is the same.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What are the steps to uninstall Linux php. 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