
Set up a local LAMP, WAMP, or MAMP environment by installing Apache, PHP, and MySQL on Mac OS or Windows, explore popular bundles, and troubleshoot common setup issues.
Identify who should take this course and learn to set up a local LAMP, WAMP, or MAMP environment with Apache, PHP, and MySQL across Windows, Mac, and Linux.
Explore what's new in this course version, including platform updates across Windows, Mac OS, and Ubuntu Linux, 64-bit software considerations, and updated troubleshooting for port conflicts.
Explore how the amp stack components (apache, php, mysql) and the browser interact in a multi-tier web app, with the server routing requests to business logic and the database.
Compare Windows, Mac, and Linux installation methods for Apache and MySQL to help you choose a software stack, including manual installers, package managers, and prepackaged bundles, while checking ports.
Install Apache on Windows by downloading a suitable distribution, installing the vc 14 redistributable, extracting to an Apache folder, and starting the server to test in a browser at localhost.
Install Apache as a Windows service to run in the background. Start, stop, restart, or uninstall via Control Panel or net commands, then verify with localhost.
Download the thread-safe 64-bit php package for windows and extract it to a top-level folder. Install the redistributable, configure apache with the directives, and verify localhost.
Download the MySQL community server and Workbench for Windows, perform a minimal installation, configure the root password, and test by creating a database.
Add the MySQL bin directory to Windows path by editing environment variables and appending the directory with a semicolon, then verify access by running mysql.
Learn to uninstall Windows components of the lamp stack by removing Apache as a service, deleting its directories, and using the sequel installer or control panel to remove MySQL, reboot.
Learn to start, stop, and restart Apache on macOS from the terminal and verify it with localhost. Adjust configuration and document permissions to serve web pages reliably.
Create a personal site folder in your home directory named sites. Configure Apache with terminal edits, enable mod_user, place an index.html, restart, and test locally in your browser.
Activate PHP on macOS by editing the Apache configuration, enabling the PHP 5 module, and restarting the server; then test with a local phpinfo page.
Download and install the MySQL community edition and workbench on macOS, run the installer, and use the temporary password. Start the server and manage databases.
Learn to uninstall MySQL on macOS by stopping the server, removing the MySQL Workbench, running terminal commands as super user, and verifying removal in System Preferences.
Install and configure Apache on Linux using the terminal: update the package manager, install apache2, start and stop the service, and verify the setup by visiting localhost in a browser.
This lecture explains installing PHP on Linux via the command line, setting up Apache and MySQL modules, creating a test script in the Apache document root, and enabling display errors.
Install and configure MySQL server on Linux using the command line, set the root password, and use MySQL Workbench to create a database schema with a collation.
Install wampserver on Windows, which bundles Apache, PHP, and MySQL, plus phpMyAdmin for database management. Verify prerequisites, resolve port 80 conflicts, then access localhost to manage databases and tables.
Manage WampServer by editing the configuration file, switching PHP versions (5 to 7) in the menu, and restarting services; verify on localhost.
Download the appropriate 32-bit or 64-bit wamp add-ons from sourceforge, install them, restart the VM server, and switch PHP versions in the server admin to access localhost.
Learn to define WampServer directory aliases, create a new alias mapped to a physical disk folder, test via local host, and manage alias permissions and deletion.
Install MAMP on macOS by downloading the installer from the official page, install to the default Mac HD, start MAMP, and test a PHP file on localhost:8888.
Configure Apache and MySQL ports, switch between default and custom configurations, manage start/stop behavior, and verify the setup by visiting localhost.
Verify no green indicator, then copy the document directory elsewhere. Drag MAMP to the trash and empty it to start with a fresh copy and default locations.
Identify port conflicts on Windows when Apache cannot bind a socket, often caused by Skype using ports 80 and 443; disable using these ports and restart Skype.
Identify and resolve port conflicts on Windows by using netstat to list listening sockets, locate the process on port 80, and stop or restart the conflicting service to start Apache.
Identify port conflicts on macOS by listing processes listening on port 80 and stopping the conflicting Apache or MySQL instance. Then start the desired stack and verify the localhost server.
Configure the Apache document root by editing the httpd.conf file, adjust the DocumentRoot for your distribution, restart Apache, and verify access to your htdocs directory via localhost.
This course describes how to install and configure Apache HTTP Server, MySQL database server, and PHP, known collectively as the AMP stack, on a local development computer. This course will be covers different installation approaches, including installing the components separately on Windows, macOS, and Linux and installing the prepackaged WampServer and MAMP bundles. Plus, learn how to troubleshoot port conflicts and other AMP-related issues.
The Following topics are covered in detail,