Docker container for php 5.6 development. 🎉
- Make sure docker and docker-compose is installed on your machine.
- Clone this repository to your local machine with this command.
then cd into the directory
https://github.com/wijaksanapanji/docker-lampp56.git
cd docker-lampp56
- Run
docker-compose
to start the container.docker-compose up -d
- Then you can open
apache
server athttp://localhost:8080
andphpmyadmin
athttp://localhost:8081
- Place your
php
project atpublic_html
directory, and you ready to go! 🚀
This docker environment included php 5.6
, mysql 5.6
, and phpymadmin
. You can configure your php configuration in php.ini
file located in ./php-apache/php.ini
.
MYSQL_HOST = db
MYSQL_USER = root
MYSQL_PASSWORD = secret
You can change your mysql
password on docker-compose.yml
file.