Watch the video 👇
Docker with Apache, MySQL, PHPMyAdmin and PHP.
I use docker-compose as an orchestrator. To run these containers:
docker compose up -d
Open phpmyadmin at http://127.0.0.1:8000 Open web browser to look at a simple php example at http://127.0.0.1:80
Clone YourProject on www/
and then, open web http://127.0.0.1/YourProject
Run MySQL client:
docker compose exec db mysql -u root -p
Infrastructure as code!
You can read this a Spanish article in Crashell platform: Apache, PHP, MySQL y PHPMyAdmin con Docker LAMP.
- MySQL 9.0.1
- PHP 8.2.23
- PHPMyAdmin 5.2.1
- Xdebug 3.3.2