Skip to content

Docker setup for PHP projects. This setup includes PHP, MySQL & Apache server

Notifications You must be signed in to change notification settings

Tech-49/Docker-PHP-MySQL-Apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker setup for PHP projects

This setup will work for your all PHP projects. You need to put these all files in your project root directory.

This setup has included:

  • PHP (7.2.x)
  • MySQL (5.7.x)
  • Apache
  • PHPMyAdmin
  • Composer
  • Custom configuration files - PHP.ini & phpmyadmin.ini

To start the services:

docker-compose up -d

To see current running containers:

docker ps

To restart/stop services:

docker-composer stop
docker-composer restart

SSH into a container ( You'll get container name from docker ps command )

docker exec -it <container name> /bin/bash

About

Docker setup for PHP projects. This setup includes PHP, MySQL & Apache server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages