Installing the Apache web server with CGI/Perl, PHP, configuring mod_perl, and preparing httpd for a production environment

In this recipe we will learn how to install the Apache web server to enable dynamic pages and configure httpd in readiness for a production environment.

Apache is one of the world's most popular web servers and it can be used to serve both static and dynamic web pages. Commonly referred to as httpd, Apache is an open source that supports an extensive range of features, but it is the purpose of this recipe to show you how easily it can be installed using the Yum package manager in order that you can maintain your server with the latest security updates.

Getting ready

To complete this recipe you will require a working installation ...

Get CentOS 6 Linux Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.