Sign inSign up

jbeat/apache-php56

By jbeat

•Updated over 2 years ago

Local development image with Apache, PHP 5.6, rewrite, gettext support

Image
0

890

jbeat/apache-php56 repository overview

⁠Web Server

  • Apache configured for local development.

⁠Multi-Architecture Image

  • Base Image: php:5.6-apache
  • Docker Image: jbeat/apache-php56:latest
  • Architectures: AMD64 (64-bit x86), ARM64 (64-bit ARM)

⁠Usage

  1. Pull the Docker image:

    docker pull jbeat/apache-php56:latest
    
  2. Run the Docker container:

     docker run -d --name [container-name] -p 8080:80 -v $(pwd):/var/www/html jbeat/apache-php56:latest
    

    Replace [container-name] with a desired name for your container and 8080 with the desired host port. The -v option mounts the current directory ($(pwd)) to the container's /var/www/html directory, allowing you to easily sync your local code with the container.

⁠PHP Version

  • PHP 5.6.

⁠Apache Configuration

  • Options FollowSymLinks: Settings allow the server to follow symbolic links in the directory

  • Rewrite Module Enabled: The Apache configuration has been adjusted to include the enabled rewrite module.

  • Require all granted: Give all users full access to the contents of the directory for development environment

  • mpm_prefork Configured: The mpm_prefork module has been configured for optimal performance in the local development environment.

⁠PHP Extensions

  • mysqli support.
  • pdo_mysql support.
  • gettext support.
  • mbstring.

⁠Timezone Setting

  • Timezone set to Asia/Seoul.

⁠Additional Features

  • Shortcodes enabled.

⁠Notes

  • This image is suitable for local development environments.
  • Exposed Port: 80 for web access.
  • Default Command: apache2-foreground to start the Apache server.

Tag summary

Content type

Image

Digest

sha256:b8c840462…

Size

124.4 MB

Last updated

over 2 years ago

docker pull jbeat/apache-php56