Skip to content
/ php Public
forked from dockette/php

🐳 Dockette Debian based PHP 5.6 / 7.0 / 7.1 / 7.2 / 7.3 + FPM + Composer (Prestissimo)

License

Notifications You must be signed in to change notification settings

zjlallen/php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP

Ready-to-use images for PHP 5.5 / 5.6 / 7.0 / 7.1 / 7.2, with FPM and Composer preinstalled.


Docker Stars Docker Pulls

Discussion / Help

Join the chat

Setup

Linux packages

These images have preinstalled couple of linux packages: apt-transport-https ca-certificates git.

PHP extensions

These images have preinstalled couple of PHP extensions: apc, apcu, bcmath, bz2, calendar, cgi, cli, ctype, curl, fpm (in*-fpm), geoip, gettext, gd, intl, imagick, imap, ldap, mbstring, mcrypt (<7.2), memcached, mongo, mysql, pdo, pgsql redis, soap, sqlite3, ssh2 (<7.2), xmlrpc, xsl, zip.

Composer

Composer

This super image has also preinstalled Composer with ultra fast plugin prestissimo.

Usage

CLI

docker run -v /path/to/site:/srv dockette/php:7.3
docker run -v /path/to/site:/srv dockette/php:7.3-fpm
docker run -v /path/to/site:/srv dockette/php:7.2
docker run -v /path/to/site:/srv dockette/php:7.2-fpm
docker run -v /path/to/site:/srv dockette/php:7.1
docker run -v /path/to/site:/srv dockette/php:7.1-fpm
docker run -v /path/to/site:/srv dockette/php:7.0
docker run -v /path/to/site:/srv dockette/php:7.0-fpm
docker run -v /path/to/site:/srv dockette/php:5.6
docker run -v /path/to/site:/srv dockette/php:5.6-fpm
docker run -v /path/to/site:/srv dockette/php:5.5
docker run -v /path/to/site:/srv dockette/php:5.5-fpm

Base image

FROM dockette/php:7.3-fpm

RUN apt update && apt install -y curl 

Customization

In case of customization PHP 5.6 - 7.3:

  • /etc/php/{5.6,7.0,7.1,7.2,7.3}/{cli,cgi,fpm}/conf.d/991-custom.ini

In case of customization PHP 5.5:

  • /etc/php5/{cli,cgi,fpm}/conf.d/991-custom.ini

About

🐳 Dockette Debian based PHP 5.6 / 7.0 / 7.1 / 7.2 / 7.3 + FPM + Composer (Prestissimo)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%