This repository contains a Docker project that allows you to run PHP 5.6 + Apache + MySQL 5.7 using Docker. It provides a convenient way to set up a development environment with specific versions of PHP, Apache, and MySQL.
The following PHP extensions are available in this Docker project:
- fpm
- iconv
- pdo-mysql
- curl
- mbstring
- bcmath
- xml
- soap
- intl
- sockets
- zip
- gd
- mcrypt
- sqlite3
- cli
- common
- json
- mysql
The current timezone set for this project is America/Sao_Paulo. If needed, you can easily change it according to your preferences.
This project uses the Supervisor tool for managing and keeping services running smoothly within the Docker environment.
To get started with this Docker project, follow these steps:
-
Install Docker on your system if you haven't already. You can find installation instructions on the official Docker website.
-
Clone this repository to your local machine:
git clone git@github.com:agostinhodev/php5.6-apache-mysql-using-docker.git- Change directory:
cd php5.6-apache-mysql-using-docker- Run it using docker-compose
docker-compose up -d --build