Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
/ php72-fpm Public archive

A PHP FPM Image with composer and all the required extensions

Notifications You must be signed in to change notification settings

vesica/php72-fpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

PHP 7.2 Docker Image with FPM

This repository produces a PHP 7.2 Image with FPM, ready for production use.

It is based on the official PHP 7.2 Docker Image and runs Debian.

It will work with OpenShift Online, Sloppy.io or any other Docker hosts.

FPM is exposed on Port 9000.

Pull from Docker Hub to use

For production use, without XDebug:

docker run -d -p 9000:9000 -it --name=php quay.io/vesica/php72-fpm:latest

or with XDebug:

docker run -d -p 9000:9000 -it --name=php quay.io/vesica/php72-fpm:dev

Build to use as a development environment (i.e., with XDebug):

docker build -f Dockerfile.dev . -t php72-fpm:dev
docker run -d -p 9000:9000 -it --name=php php72-fpm:dev

Build to use as a production environment:

docker build -f Dockerfile . -t php72-fpm
docker run -d -p 9000:9000 -it --name=php php72-fpm

Publish Images

Run sh build.sh to update quay.io/vesica/php72-fpm:latest and vesica/php72-fpm:latest (https://hub.docker.com/r/vesica/php72/) as well as the version specified in that file. Running build.sh will also create quay.io/vesica/php72-fpm:dev and vesica/php72-fpm:dev on hub.docker.com which is basically the same image with XDebug.

Important Information:

FPM Settings

Coming soon.

PHP Modules and Extensions

The following modules / extensions / PECLs are enabled on this container (excluding XDebug which is only available in the :dev tag):

Extensions

  • calendar
  • iconv
  • bcmath
  • xml
  • gd
  • mbstring
  • pdo
  • tidy
  • gettext
  • intl
  • pdo
  • pdo_mysql
  • mysqli
  • simplexml
  • tokenizer
  • xml
  • xmlwriter
  • zip
  • exif
  • opcache

PECLs

  • Redis
  • GeoIP
  • Memcached
  • TimezoneDB
  • APCu

Need something else added?

Raise a pull request or an issue.

License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

A PHP FPM Image with composer and all the required extensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published