Public Repository

Last pushed: 6 months ago
Short Description
apache2 php7.0.24 with apcu, opcache and redis.
Full Description

Webserver container is created to develop php projects on localhost. using this container and mariadb or mysql-server container, we can create xampp stack in docker environment.

How to use this container for local development. Assuming that mysql container is running and stores data on local disk.

docker run -d --name webserver -p 80:80 -v /usr/local/www:/var/www/html vjadeja/webserver

You can check container named webserver is running by this command
docker ps

Now goto /usr/local/www directory and create one directory named "html" and inside this directory create one file index.php
in index.php file just write <?php echo phpinfo();

This is webroot of your local development.

Open your favourite browser and type localhost. You will see php info.

This container has these php modules are installed:
apcu
Core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

Docker Pull Command
Owner
vjadeja