A repo in which to build a lamp stack, add docker support and do a bit of network troubleshooting
This repository provides the starter files for the first Linux-based LAMP stack lab.
Students will:
- Install Apache, PHP, and MariaDB.
- Verify Apache by viewing the default index.html page.
- Import the provided SQL file to create a sample database.
- Create their own
index.phpfile to connect to the database and display data in a styled table.
- db_setup.sql – Creates a database (
testdb) and auserstable with famous computer scientists. - .devcontainer/devcontainer.json – Ensures Git and common utilities are available in GitHub Codespaces.
- Clone this repository or open it in GitHub Codespaces.
- Follow the lab instructions provided by your instructor.
- After installing Apache, PHP, and MariaDB, import the SQL file:
sudo mysql < db_setup.sql