Sign inSign up

opencycle/php

By opencycle

•Updated over 7 years ago

Opencycle PHP-FPM Docker Image

Image
0

324

opencycle/php repository overview

⁠PHP-FPM

https://hub.docker.com/r/opencycle/php/ Docker Pulls

This image provides PHP-FPM and the required PHP extensions for Opencycle. It is based on the Official PHP-FPM Alpine⁠ image.

We provide the following version tags:

⁠Included Extensions

Additional extensions included in addition to the base PHP-FPM Docker image:

  • mcrypt
  • opcache
  • pdo_mysql
  • pdo_pgsql

⁠Usage

Use as part of a multi-stage build as your final application image:

FROM opencycle/php:7.2 as application

COPY . /srv/www

PHP-FPM will then be exposed on port 9000 you will need to use this image in combination with a web server image like opencycle/nginx⁠.

services:
  php:
    image: opencycle/php:7.2
    volumes:
      - ./:/srv/www
  nginx:
    image: opencycle/nginx:latest
    volumes:
      - ./:/srv/www
    ports:
      - 80:80

Tag summary

Content type

Image

Digest

Size

43.6 MB

Last updated

over 7 years ago

docker pull opencycle/php