From the course: Linux for PHP Developers
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Configuring Apache HTTP Server
From the course: Linux for PHP Developers
Configuring Apache HTTP Server
- [Instructor] The next few videos are about configuring Linux services, and the first service will be Apache HTTP Server. In Linux, configuration files are stored in the etc directory. Let's see what that looks like. From the terminal, change directory to /etc. A quick directory listing, this time with -1 to just list the files in directories. Well, that's a lot. Let's filter that down, ls -1 | grip apache. That's more like it. The Apache configuration is in the Apache2 directory. Change directory to Apache2, then list the contents, ls -la. Apache's main configuration is stored in apache2.conf however it's best practice to keep custom site configurations in their own separate files. At the bottom of the list, there are two directories, sites-available and sites-enabled. That seems slightly redundant, or is it? Let's see the contents of sites-available. ls -la sites-available. There are two files, a default configuration and a default secure configuration. In comparison, what's in…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Upgrading and installing packages7m 34s
-
(Locked)
Installing VirtualBox Guest Additions6m 50s
-
(Locked)
Configuring group permissions for access5m 22s
-
(Locked)
Configuring Apache HTTP Server5m 51s
-
Managing Apache sites and modules4m 44s
-
(Locked)
Configuring PHP for development11m 12s
-
(Locked)
Installing MailCatcher for dev email7m 51s
-
(Locked)
-
-
-
-
-
-