Skip to content
Docker with Apache, MySql, PhpMyAdmin and Php
Branch: master
Clone or download
Pull request Compare This branch is even with jcavat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
dump
www
Dockerfile
LICENSE
README.md
docker-compose.yml

README.md

docker-lamp

Docker example with Apache, MySql 8.0, PhpMyAdmin and Php

You can use MySql 5.7 if you checkout to the tag mysql5.7

I use docker-compose as an orchestrator. To run these containers:

docker-compose up -d

Open phpmyadmin at http://localhost:8000 Open web browser to look at a simple php example at http://localhost:8001

Run mysql client:

  • docker-compose exec db mysql -u root -p

Enjoy !

You can’t perform that action at this time.