The Docker setup for PHP applications using PHP7-FPM and Nginx
- Checkout the repository
Create a record in yourhosts
file to pointphp-docker.local
to your Docker environment- Run
docker-compose up
Navigate to php-docker.local:8080 in a browser- Navigate to localhost:8080
That's it! You have your local PHP setup using Docker
Example of activated PHP logging -