An open API service indexing awesome lists of open source software.

https://github.com/fuxi-de/lamp_stack

LAMP Stack Docker Environment for Development Use
https://github.com/fuxi-de/lamp_stack

docker docker-compose lamp lamp-setup lamp-stack mysql php7 phpmyadmin

Last synced: 10 months ago
JSON representation

LAMP Stack Docker Environment for Development Use

Awesome Lists containing this project

README

          

# Lamp Setup

This is a basic LAMP stack environment built using Docker Compose. It consists of the following:

* PHP 7.1
* Apache 2.4
* MySQL 5.7
* phpMyAdmin

## Installation

Clone this repository. Run `docker-compose up -d`.

```shell
cd lamp_stack/
docker-compose up -d
```

Your LAMP stack is now ready to go!! You can access it via `http://localhost`.

## CMS

In `./www/cms` you can add your chosen CMS and access it via apache. The Document root is currently configured to look at `./www` but you can change this if you like in the `docker-compose.yml` file.

## Web Server

Apache is configured to run on port 80. So, you can access it via `http://localhost`.

## PHP

The installed version of PHP is 7.1.

#### Extensions

By default the following extensions are installed.

* mysqli
* mbstring
* zip
* intl
* mcrypt
* curl
* json
* iconv
* xml
* xmlrpc
* gd

> If you want to install more extensions, update `./bin/webserver/Dockerfile` as you wish.
> Afterwards you have to rebuild the docker image by running `docker-compose build` and restart the containers.

## phpMyAdmin

phpMyAdmin is configured to run on port 8080.

http://localhost:8080/
username: root
password: root