https://github.com/lespocky/docker-apache-php
customized docker php image
https://github.com/lespocky/docker-apache-php
docker php wordpress
Last synced: 4 months ago
JSON representation
customized docker php image
- Host: GitHub
- URL: https://github.com/lespocky/docker-apache-php
- Owner: LeSpocky
- License: other
- Created: 2025-08-06T06:29:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-01-18T04:48:35.000Z (6 months ago)
- Last Synced: 2026-01-22T21:20:00.914Z (6 months ago)
- Topics: docker, php, wordpress
- Language: Dockerfile
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php with Apache httpd in Docker (docker-apache-php)
[](https://api.reuse.software/info/github.com/LeSpocky/docker-apache-php)

[](https://github.com/RichardLitt/standard-readme)
Customized Docker PHP image, derived from the [official php Docker
image](https://hub.docker.com/_/php), extended to be used with WordPress.
## Table of Contents
- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## Background
The official php Docker image is not suitable for certain use cases as-is.
This enables some Apache modules and PHP extensions not present in the
php-apache Docker image by default.
One goal of this project is to automate the whole build, test, and
release process as far as possible.
Updates on the Docker base image are recognized by Renovate Bot.
All updates except for major PHP updates should automatically trigger a
new release build.
This project follows semantic versioning, although the version numbers
do not correspond with the PHP version this is based on.
## Install
Docker images are built by GitHub CI and pushed to ghcr.io so you can
pull the images like this:
```
docker pull ghcr.io/lespocky/apache-php:latest
```
Semantic versioning like tags are created for release versions.
So you can pull version *1.2.3* or *1.2* or *1* as you like it.
## Usage
If not pulling the distributed image, build it by yourself the usual way:
```
docker build .
```
For further documentation on how to use the image, see
[php Docker image](https://hub.docker.com/_/php).
## Modules and Extensions
The following Apache modules are enabled additionally:
- rewrite
The following PHP extensions are installed additionally:
- gd
- mysqli
## Contributing
Pull requests accepted.
## License
This project is licensed unter the [MIT License](LICENSES/MIT.txt)
unless noted differently in the file and adheres to
[REUSE compliance](https://api.reuse.software/info/git.fsfe.org/reuse/api).
© 2025 [Alexander Dahl](https://github.com/LeSpocky) and contributors