Home > Article > Backend Development > What are the steps to uninstall Linux php
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.
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!