Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2025-06-29 (5 days ago)  | | Not yet rated by the users | | Total: Not yet counted | | Not yet ranked |
|
Description | | Author |
This package can run Docker to set up a PHP development environment.
It provides Docker configuration files to set up a PHP development environment that can run on Windows.
The package contains instructions to:
- Start a server to run PHP, MySQL and PhpMyAdmin
- Stop the server
- Access PhpMyAdmin
- Access PHP scripts running on the Web server
- Change the Web server document root path
This document covers setting up a PHP development environment using docker on Windows 10. Innovation Award
 June 2025
Nominee
Vote |
Docker is a tool that allows to set up and containers of operating systems and programs that will run on those systems.
Docker can be setup to run a system with PHP and other programs necessary to run PHP Websites.
This package provides configuration files and instructions to PHP on Windows using Docker.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 9x |
|
Instructions
Details
What is Php development with Docker?
This document covers setting up a PHP development environment using docker on Windows 10.
What's in it?
-
Php 8.0 (APACHE)
-
MYSQL (PDO)
Install docker
Get Docker
Install WSL 2 Why?
wsl --install
Start the server
Open the command prompt in the directory where the dockerfile
and docker-compose.yml
files are located and start the server by running the following command.
docker-compose up -d
Stop the server
Open a command prompt in the directory where the dockerfile
and docker-compose.yml
files are located and stop the server by running the following command.
docker-compose down
Reaching the phpmyadmin panel
Address: 127.0.0.1:8081 // Line 28th in docker-compose.yml.
Server Name: mysql_server // Line 30th in docker-compose.yml.
Username: root
Password: // No password
Accessing the HTDOCS directory
Address: 127.0.0.1:8080 // Line 5th in docker-compose.yml.
If you want to define the project directory in another position
For this, the 7th line in the docker-compose.yml
file must be updated.If you pay attention to this line, there are two different ways separated by :
. The first way is the directory of the directory you want to define, and the second is the directory of the Docker server.You should organize the first way.By default, the location of Docker files is defined.
.:/var/www/html
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.