This tutorial explains how to use exercises provided with LinkedIn Learning's course "Installing Apache, MySQL, and PHP" and how to use them effectively.
- [Instructor] This course is accompanied by exercise files that you can use to follow along with the demonstrations on screen. I've copied the exercise files to my desktop but you can place them anywhere on your hard disk. The exercise files consist of sample files that you can use to set certain configurations or run certain tests in the course. Under the Apache directory, there are few files that contain common configurations. This file for example, contains a set of commands that you can use to configure Apache and PHP to work together on Windows.
These two files are used on Mac to create personal site configurations. There's one for Apache 2.2 and one for Apache 2.4. And this index.html file is a very simple file that you can use to test any Web server. I'll use it specifically in the video on creating a personal site folder on Mac but you can really use it anywhere. In the MySQL directory, there's just a single file, a text file that contains a set of commands that you can use to uninstall MySQL on Mac.
These commands are not needed on Windows where you would uninstall MySQL using a standard Windows uninstall process. And finally, in the PHP directory, you'll find a single file called phpinfo.php. This very simple PHP script executes the PHP info command to display information about the PHP installation. I've included these files with the course to make it easier to follow along, so you don't have to type out a lot of commands where they're always the same for every computer.
But you can either use these files or your own to experiment and test your Apache, MySQL and PHP installation.
- Installing Apache on Windows
- Working with PHP on Windows and macOS
- Installing MySQL on Windows and macOS
- Adding MySQL bin directory to the PATH
- Starting and stopping Apache on macOS
- Configuring personal site folders
- Installing Apache, PHP, and MySQL on Linux
- Installing and managing WampServer
- Defining WampServer directory aliases
- Installing MAMP on macOS
- Configuring Apache and MySQL server ports on MAMP
- Handling port conflicts on Windows and macOS
- Configuring the Apache web document root