Apache of CentOS 7.2 can not be uninstalled
NickName:sunshine Ask DateTime:2016-03-14T20:39:59

Apache of CentOS 7.2 can not be uninstalled

I want to uninstall Apache of CentOS 7.2,steps are as follow:
1、# systemctl stop httpd.service //Actually,httpd is not running.
2、# rpm -qa|grep httpd //There is nothing,so, use:
# yum list|grep httpd //content is as follow:

darkhttpd.x86_64                        1.11-1.el7                     epel     
httpd.x86_64                            2.4.6-40.el7.centos            base     
httpd-devel.x86_64                      2.4.6-40.el7.centos            base     
httpd-itk.x86_64                        2.4.7.01-5.el7                 epel     
httpd-manual.noarch                     2.4.6-40.el7.centos            base     
httpd-tools.x86_64                      2.4.6-40.el7.centos            base     
libmicrohttpd.i686                      0.9.33-2.el7                   base     
libmicrohttpd.x86_64                    0.9.33-2.el7                   base     
libmicrohttpd-devel.i686                0.9.33-2.el7                   base     
libmicrohttpd-devel.x86_64              0.9.33-2.el7                   base     
libmicrohttpd-doc.noarch                0.9.33-2.el7                   base     
lighttpd.x86_64                         1.4.39-1.el7                   epel     
lighttpd-fastcgi.x86_64                 1.4.39-1.el7                   epel     
lighttpd-mod_geoip.x86_64               1.4.39-1.el7                   epel     
lighttpd-mod_mysql_vhost.x86_64         1.4.39-1.el7                   epel     
opensips-httpd.x86_64                   1.10.5-3.el7                   epel     
owncloud-httpd.noarch                   8.0.10-1.el7                   epel     
python-sphinxcontrib-httpdomain.noarch  1.4.0-1.el7                    epel     
radicale-httpd.noarch                   1.1.1-1.el7                    epel     
viewvc-httpd-fcgi.noarch                1.1.24-1.el7                   epel     
viewvc-httpd-wsgi.noarch                1.1.24-1.el7                   epel     
web-assets-httpd.noarch                 5-1.el7                        epel   

3、# yum erase httpd.x86_64

Loaded plugins: langpacks
No Match for argument: httpd.x86_64
No Packages marked for removal

add:

# yum info httpd

Loaded plugins: langpacks
Available Packages
Name        : httpd
Arch        : x86_64
Version     : 2.4.6
Release     : 40.el7.centos
Size        : 2.7 M
Repo        : base/7/x86_64
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and
            : extensible web server.

What does this mean?

Copyright Notice:Content Author:「sunshine」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/35987799/apache-of-centos-7-2-can-not-be-uninstalled

More about “Apache of CentOS 7.2 can not be uninstalled” related questions

Apache of CentOS 7.2 can not be uninstalled

I want to uninstall Apache of CentOS 7.2,steps are as follow: 1、# systemctl stop httpd.service //Actually,httpd is not running. 2、# rpm -qa|grep httpd //There is nothing,so, use: # yum list|grep ht...

Show Detail

upgrade Azure OpenLogic Centos 6.7 to CentOS 7.2

What is the best way to upgrade Azure Openlogic CentOS 6.7 to CentOS7.2 So that it has it is similar to CentOS 7.2 image. I did sudo yum update but it did not upgrade to the latest version. Can some

Show Detail

vagrant centos7.2 Vagrantfile

I try to setup a vagrant with a CentOS7.2. I've found this on Atlas: https://atlas.hashicorp.com/brightcove/boxes/centos7.2 But when I set on my VagrantFile with config.vm.box = "brightcove/cento...

Show Detail

Wget on Centos 7.2

I have a wget inside a php script. (wget connects to the another server to retrieve a data). from command line php works fine, but when I try to access it in the browser from another computer, php ...

Show Detail

php-ldap PHP 7.2 - Centos 7

I try to install PHP 7.2 LDAP in Centos 7 with yum install php-ldap i also has uncomment extension=ldap.so in php.ini but ldap still has no longer in phpInfo. Anyone help? i use apache.

Show Detail

Installing apache modules on CentOS

I am trying to install apache modules on CentOS 8.1. I have a playbook that is working for Ubuntu and need the same tasks on CentOS. vars: libs: - apache2 - libapache2-mod-php ...

Show Detail

Install PHP 7.2 on Centos 7

I following this link to upgrade my php from 5.6 to 7.2 and its successfully installed PHP 7.2.14 (cli) (built: Jan 8 2019 12:06:12) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2...

Show Detail

php-fpm.sock is missing: php7.2 on CentOS 7

Summary:I'm trying to use Nginx on PHP7.2 and CentOS 7, but can't find php-fpm.sock I used to use PHP7.0 on Ubuntu 16. Recently, I switched to CentOS 7. and now I'm trying to set it up with Nginx ...

Show Detail

How do I update Apache on CentOS 6.5?

I've spent all day searching Google and trying every command I could find or even think of to update Apache on my server. I am running CentOS 6.5 64 bit. I have uninstalled and reinstalled just t...

Show Detail

Centos 8, yum update command not working. given following error. can't find php-common-7.2

I've tried to remove php-common-7.2 but couldn't find where it located. Problem: package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(api) = 20170718-64, but none of the providers ca...

Show Detail