Local development image with Apache, PHP 5.6, rewrite, gettext support
890
php:5.6-apachejbeat/apache-php56:latestPull the Docker image:
docker pull jbeat/apache-php56:latest
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.
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.
apache2-foreground to start the Apache server.Content type
Image
Digest
sha256:b8c840462…
Size
124.4 MB
Last updated
over 2 years ago
docker pull jbeat/apache-php56