Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
5.2
 
 
5.3
 
 
5.4
 
 
5.5
 
 
5.6
 
 
 
 
 
 

README.md

Docker pulls

Yappa Apache PHP Docker Image

Usage

Add the following to your docker-compose.yml file:

apache:
    image: yappabe/apache-php
    links:
        - mysql
    volumes_from:
        - app
    environment:
        DOCUMENT_ROOT: /var/www/app/web
        ENVIRONMENT: dev

ENV vars

  • DOCUMENT_ROOT defaults to /var/www/app/web
  • ENVIRONMENT defaults to dev

How to use a different PHP version

Append one of the available version numbers to the image name.

Example:

apache:
    image: yappabe/apache-php:5.4

Available versions

  • 5.6
  • 5.5
  • 5.4
  • 5.3
  • 5.2

About

A Docker php image with the old school LAMP, minus the M

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.