Skip to content
A basic LAMP stack environment built using Docker Compose.
Branch: master
Clone or download
Latest commit 88e0b22 Sep 11, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Update php version and some utilis Sep 9, 2018
config Add xdebug and custom php.ini Mar 18, 2017
data Add .gitkeep files Jul 29, 2017
logs Add .gitkeep files Jul 29, 2017
www Update mysql connection Jun 1, 2018
.gitignore Update gitignore Jun 1, 2018
LICENSE Initial commit Mar 14, 2017 Update Sep 11, 2018
docker-compose.yml Change default database May 31, 2018
sample.env Update code and structure Jul 29, 2017

LAMP stack built with Docker Compose

Landing Page

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

  • PHP
  • Apache
  • MySQL
  • phpMyAdmin

As of now, we have 3 different branches for different PHP versions. Use appropriate branch as per your php version need:


Clone this repository on your local computer and checkout the appropriate branch e.g. 7.1.x. Run the docker-compose up -d.

git clone
cd docker-compose-lamp/
git fetch --all
git checkout 7.1.x
docker-compose up -d

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

Configuration and Usage

Please read from appropriate version branch.

You can’t perform that action at this time.