Public | Automated Build

Last pushed: 5 months ago
Short Description
A Nginx + PHP 7.0 FPM server with a bundle of PHP stuffs.
Full Description

docker-php7

Docker container for php 7

PHP is a popular general-purpose scripting language that is especially suited to web development.

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

This package runs Nginx and PHP-FPM with PHP 7.0. Also are installed in this package the follow add-ons: php7.0-mysql php7.0-pgsql php7.0-sqlite php7.0-curl php7.0-cgi php7.0-mcrypt php7.0-ldap php7.0-intl php7.0-json php7.0-gd php7.0-pspell php-net-smtp php-net-socket php-mail-mime php-net-sieve libmagic1 php-pear php-auth-sasl php-patchwork-utf8 php-net-ldap3 php-zip

Install dependencies

To install docker in a Linux flavor follow this instructions.

To install docker in other operating systems check docker online documentation

Usage

To run the container, use the command below:

$ docker run --name <name> -p 80:80 -p 443:443 -d filhocf/php7

If you want to connect to MySQL, per example, process the follow steps:

$ docker run --name <mysql_database_name> -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql

$ docker run --name <webapp_name> -p 80:80 -p 443:443 --link <mysql_database_name>:mysql -d filhocf/php7

More Info

To help improve this container docker-php7

Docker Pull Command
Owner
filhocf
Source Repository

Comments (0)