Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql

License

Notifications You must be signed in to change notification settings

thosewords/docker-compose-php

Repository files navigation

docker-compose-php

docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql. Connecting from php on a mysql database still fails. Not sure why.

Purpose

Create the ultimate development environment

Install

Install docker and docker-compose

Run

	$ git clone https://github.com/devigner/docker-compose-php.git
	$ cd docker-compose-php
	$ docker-compose build
	$ docker-compose up -d

PHP

By default the setup creates a php5.6 environment, see docker-compose-php-7.yml how to use php7 (pre-release)

Test

Open url http://localhost:8000 and you will see a phpinfo page

About

docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%

AltStyle によって変換されたページ (->オリジナル) /