Public Repository

Last pushed: a year ago
Short Description
Apache Web Server with PHP 7.0 built on Ubuntu 16.04.
Full Description

Apache web server with PHP 7.0. This is meant for testing purposes and has many mods installed. SSL is not configured. I would have included fastcgi module also but for some reason the docker build command could not find it in the repository even though locally i can. You may want to re-bulid without the mods you don't need.

To run:
Make this dockerfile:
<code>
From ubuntu:16.04
MAINTAINER Name <Email>
RUN apt-get update && apt-get install -y apache2 libapache2-modsecurity libapache2-mod-security2 libapache2-mod-xforward libapache2-mod-webauth libapache2-mod-upload-progress libapache2-mod-nss libapache2-mod-mapcache libapache-gallery-perl php php-zip php-xml php-xajax php-validate php-sybase php-soap php-oauth php-memcache php-mcrypt php-mbstring php-markdown php-json php-imagick php-image-text php-http php-gnupg php-gettext php-geoip php-fshl php-fpm php-email-validator php-date php-cache php-bcmath php-auth php-tidy php-sqlite3 php-pspell php-pear php-odbc php-mysql php-gmp php-gd php-curl php-common php-cgi libapache2-mod-php libapache2-mod-php memcached php7.0 php7.0-curl php7.0-gd php7.0-gmp php7.0-json php7.0-mysql php7.0-odbc php7.0-opcache php7.0-pspell php7.0-readline php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc php7.0-bcmath php7.0-enchant php7.0-fpm php7.0-mbstring php7.0-mcrypt php7.0-soap php7.0-phpdbg php7.0-intl php7.0-sybase php7.0-zip php7.0-cgi php7.0-common libapache2-mod-php7.0 && rm -f /var/www/html/index.html && touch /var/www/html/index.php && echo "<?php phpinfo (); ?>" > /var/www/html/index.php && service apache2 restart
</code>
Then from the folder containing that dockerfile run:
<code>
docker build -t username/repostiory_name .
</code>

To run:
<code>
docker run -d -p 80:80 --name=apache-php7 -v /your_htdocs_location:/var/www/html abarbatus/Apache-php7
</code>
Comes with these mods installed:
Apache Mods:
libapache2-modsecurity
libapache2-mod-security2
libapache2-mod-xforward
libapache2-mod-webauth
libapache2-mod-upload-progress
libapache2-mod-nss
libapache2-mod-mapcache
libapache-gallery-perl
libapache2-mod-php
libapache2-mod-php7.0

PHP Mods:
php-zip
php-xml
php-xajax
php-validate
php-sybase
php-soap
php-oauth
php-memcache
php-mcrypt
php-mbstring
php-markdown
php-json
php-imagick
php-image-text
php-http
php-gnupg
php-gettext
php-geoip
php-fshl
php-fpm
php-email-validator
php-date
php-cache
php-bcmath
php-auth
php-tidy
php-sqlite3
php-pspell
php-pear
php-odbc
php-mysql
php-gmp
php-gd
php-curl
php-common
php-cgi
php7.0-curl
php7.0-gd
php7.0-gmp
php7.0-json
php7.0-mysql
php7.0-odbc
php7.0-opcache
php7.0-pspell
php7.0-readline
php7.0-recode
php7.0-sqlite3
php7.0-tidy
php7.0-xml
php7.0-xmlrpc
php7.0-bcmath
php7.0-enchant
php7.0-fpm
php7.0-mbstring
php7.0-mcrypt
php7.0-soap
php7.0-phpdbg
php7.0-intl
php7.0-sybase
php7.0-zip
php7.0-cgi
php7.0-common

Docker Pull Command
Owner
abarbatus