Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 596 Bytes

File metadata and controls

19 lines (13 loc) · 596 Bytes

Docker PHP dev

This is an basic setup for a PHP development environment using Docker and PHPFarm.

Usage

Go to the docker/ folder. Copy default.env to .env, then set your project name. This is optional. If you don't set your project name, it will remain as "docker".

Copy default.docker-compose.yml to docker-compose.yml. Modify it as you see fit (although the default one will work).

Run docker-compose up -d, then browse to http://localhost:8056/example.php. You should see an example page running PHP 5.6.