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

What are the steps to uninstall Linux php

藏色散人
Release: 2023-03-12 15:30:02
Original
3851 people have browsed it

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
Copy after login

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
Copy after login
再用# php -v
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template