Skip to content

porchn/php5-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

apache-php5 Supported tags

This repo used in Dockerhub url 'https://hub.docker.com/r/porchn/php5.6-apache/'

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

Releases

No releases published

Packages

No packages published

Languages