How to Install Apache on CentOS 7

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

2 Responses

  1. Rajib Biswal says:

    Hello, Dear Sir

    My Apache web server stopped some how. I run service httpd restart on terminal, but it not worked.

    It show:

    [[email protected] ~]# service httpd restart
    

    httpd: Syntax error on line 216 of /usr/local/apps/apache/etc/httpd.conf: Syntax error on line 2 of /usr/local/apps/apache/etc/conf.d/wsgi.conf: Cannot load /us r/local/apps/apache/modules/mod_wsgi.so into server: /usr/local/apps/apache/modu les/mod_wsgi.so: cannot open shared object file: No such file or directory

    Kindly tell me How To fix it.

    • Aaron Kili says:

      @Rajib

      Run the command below:

      # mv /usr/local/apps/apache/etc/conf.d/wsgi.conf /usr/local/apps/apache/etc/conf.d/wsgi.conf.orig
      

      Then restart the Apache service, like this:

      # service httpd restart
      

      If this fails, try to check the mentioned files for any syntax errors on the specified lines.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *