Sign inSign up

webkul/apache-php

By webkul

•Updated over 6 years ago

Docker Image for apache2 and php version 7

Image
2

10K+

webkul/apache-php repository overview

⁠Docker Image for apache2 and php version 7

This Docker Image is packaged with apache2 and php 7 along with mysql-client-5.7, nodejs, npm and composer.

List of PHP extensions present in this docker image are: curl, intl, gd, dom, mcrypt, iconv, xsl, mbstring, ctype, zip, pdo, xml, bz2, calendar, exif, fileinfo, json, mysqli, mysql, posix, tokenizer, xmlwriter, xmlreader, phar, soap, mysql, fpm, bcmath, imap and mailparse.

⁠To run container from this image:

docker run -tid --name=your_container_name -p mention_host_port:80 webkul/apache-php:mention_tag

⁠To mount host directory on apache document root inside container:

docker run -tid --name=your_container_name -p mention_host_port:80 -v mention_host_dir:/var/www/html/public_html -e USER_UID=mention_your_user_uid webkul/apache-php:mention_tag

⁠Run following command to check docker running status:

docker ps

Tag summary

Content type

Image

Digest

Size

300.3 MB

Last updated

over 6 years ago

docker pull webkul/apache-php