- Lab
- A Cloud Guru
Implement an Apache Web Server with PHP Enabled
This lab will help you to test your skills and knowledge of installing and configuring Apache server with PHP enabled. This hands-on lab can be taken by itself or as part of the LPIC-2: Linux Engineer Exam 202 preparation.
Path Info
Table of Contents
-
Challenge
Install the Apache Web Server
Using the appropriate commands, install the Apache Web Server.
-
Challenge
Explore the Default Configuration
Examine the Apache configuration.
-
Challenge
Start and Test the Service and Access the Default Site
Using the appropriate commands, start the
apache
service and test for whether or not you can access the default website.NOTE: You can use the external IP of the cloud server in your browser to test.
-
Challenge
Install the Appropriate Packages for Enabling PHP on Our Site
Install the packages required to enable PHP on the Apache server.
-
Challenge
Enable the Module Configuration
Using the required commands or changes to configuration files, enable the module configuration.
-
Challenge
Create a PHP Test File for Review
Create a
php
file for test use with the Apache server you installed. -
Challenge
Add the PHP Module Configuration to Apache
Add the PHP module configuration to Apache.
-
Challenge
Restart the Apache Server and Test for PHP Being Displayed as Expected
Using the correct commands, restart Apache. Then test to see if PHP is displaying correctly.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.