Skip to content

wijaksanapanji/docker-lampp56

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker LAMPP with PHP 5.6 and MYSQL 5.6

Docker container for php 5.6 development. 🎉

How to use

  1. Make sure docker and docker-compose is installed on your machine.
  2. Clone this repository to your local machine with this command.
    https://github.com/wijaksanapanji/docker-lampp56.git
    then cd into the directory
    cd docker-lampp56
  3. Run docker-compose to start the container.
    docker-compose up -d
  4. Then you can open apache server at http://localhost:8080 and phpmyadmin at http://localhost:8081
  5. Place your php project at public_html directory, and you ready to go! 🚀

What is included

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.

Some Environment Variable

MYSQL_HOST = db
MYSQL_USER = root
MYSQL_PASSWORD = secret

You can change your mysql password on docker-compose.yml file.

About

Docker environment for PHP 5.6 development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published