Instantly share code, notes, and snippets.

Embed
What would you like to do?
Minimum Lovable Stack: PHP

Minimum Lovable Stack: PHP

(0. Install Docker: https://docs.docker.com/install/)

  1. Run docker-compose up
  2. Go to localhost:5000
  3. Edit index.php
  4. Reload localhost:5000
  5. Repeat (3)
version: '3'
services:
web:
image: php:apache
volumes:
- ./:/var/www/html
ports:
- 5000:80
<? echo "Hello PHP" ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment