Skip to content

Cyb10101/php-dev

Repository files navigation

PHP Webserver Development

PHP-DEV is a small package that includes a web server, PHP and some tools needed to develop a web application. You can easily decide which version of PHP you want to use and whether you want to start an Apache or a Nginx webserver by setting the values in a docker-compose.yml. We recommend using Cyb10101/docker-global as a wrapper for your projects, since this Dockerfile has been built keeping that in mind.

Documentation

Further topics

Docker compose

This is an example of a docker-compose.yml file. It is enough to put this file into the project, configure it and start the Docker container. Further information can be found in the documentation.

Example file for development: docker-compose.yml

Setup

Create a docker-compose.yml like shown above. Change all your settings. Mainly the VIRTUAL_HOST, WEB_DOCUMENT_ROOT and maybe the application context.

Then you can copy the start.sh into your project and start it.

About

Docker Image for PHP-Web Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published