centos6.5 Delete Lamp

Source: Internet
Author: User
Tags imap ldap

1, delete php, delete before you need to view PHP dependency package, using Rpm-qa|grep PHP

[Email protected] ~]# Rpm-qa |grep php
Php55w-mysql-5.5.38-1.w6.x86_64
Php55w-common-5.5.38-1.w6.x86_64
Php55w-odbc-5.5.38-1.w6.x86_64
Php55w-gd-5.5.38-1.w6.x86_64
Php55w-xmlrpc-5.5.38-1.w6.x86_64
Php55w-pdo-5.5.38-1.w6.x86_64
Php55w-imap-5.5.38-1.w6.x86_64
Php55w-ldap-5.5.38-1.w6.x86_64
Php55w-cli-5.5.38-1.w6.x86_64
Php55w-xml-5.5.38-1.w6.x86_64
Php55w-5.5.38-1.w6.x86_64

The deletion needs to be deleted in the order of dependency, otherwise the error will be as follows:

[Email protected] ~]# rpm-e php55w-pdo-5.5.38-1.w6.x86_64
error:failed dependencies:
Php55w-pdo (x86-64) is needed by (installed) php55w-mysql-5.5.38-1.w6.x86_64
Php55w-pdo (x86-64) = 5.5.38-1.w6 is needed by (installed) php55w-odbc-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-mysql-5.5.38-1.w6.x86_64

[Email protected] ~]# rpm-e php55w-xml-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-pdo-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-xmlrpc-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-gd-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-cli-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-imap-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-odbc-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-ldap-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-pdo-5.5.38-1.w6.x86_64
[Email protected] ~]# rpm-e php55w-common-5.5.38-1.w6.x86_64
Delete finished, in the use of the command see also, if not, indicating that the deletion is done.
[[email protected] ~]# rpm-qa|grep PHP
[Email protected] ~]#

centos6.5 Delete Lamp

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.