https://hub.docker.com/r/porchn/php5.6-apache
apache-php5 Supported tags
This repo used in Dockerhub url ‘https://hub.docker.com/r/porchn/php5.6-apache/‘
- latest Link to Dockerfile
- pdftk Link to dockerfile
Software
- PDFTK
Module install in images
- gd
- iconv
- mcrypt
- intl
- mysql
- mysqli
- pdo_mysql
- zip
- mbstring
- mod_rewrite
External extension
- Memcached
- Composer
- OpenSSL
- Imagick
Volume
- /var/www
- /var/log/apache2
- /etc/apache2/sites-enabled
Port
- 80
- 443
How to use with Docker
docker run --name testphp -p 8080:80 -d -v $(pwd):/var/www/html porchn/php5.6-apache
Use with Docker-compose
apache:
image: porchn/php5.6-apache
container_name: apache
ports:
- "80:80"
volumes:
- ./apache2/conf:/etc/apache2/sites-enabled
- ./apache2/www:/var/www
- ./apache2/logs:/var/log/apache2
environment:
- TZ=Asia/Bangkok
restart: always