---
# System prepended metadata

title: LAMP Implementation

---

# LAMP Implementation

Code for a full-stack web development on LAMP stack (Linux, Apache, MySQL/MariaDB, PHP).

## Getting Started

## Prerequisites
Follow the steps to install lamp stack in manjaro:
```
https://forum.manjaro.org/t/howto-install-apache-mariadb-mysql-php-lamp/13000
```

## Configuring and running the website:


Move the **index.php** file to apache base directory:

Import softlab database from export.sql file-
```
$ mysql -u username -p -h localhost softlab < export.sql
```
Change login information in index.php-


```
$servername = "localhost";
$username = "root";
$password = "pass";
$dbname = 'softlab';
```
Goto http://localhost/index.php in browser.

## Built With

* [MariaDB](https://mariadb.org/) - Database server.
* [Apache](https://www.apache.org/) - Webserver.
* [PHP](https://www.php.net/) - Backend.

## Authors

* **Abhishek Kumar Yadav** - *Initial work* - [abhk943](https://github.com/abhk943)
