Sign inSign up

saintfrater/php8-3-22-custom

By saintfrater

•Updated about 1 year ago
Archived

A custom debian Bookworm Apache+PHP setup

Image
Languages & frameworks
0

161

saintfrater/php8-3-22-custom repository overview

⁠Custom Image: PHP 8.3 with Apache (Debian Bookworm)

This document describes the specifics of a custom Docker image used for deploying a PHP web application using Apache on Debian Bookworm.

It's include support for

  • image manipulation (GD)
  • compression (zip)
  • mysqli/pdo_mysql
  • opcache

⁠Base Image

The image is based on the official PHP Docker image⁠: php:8.x.xx-apache-bookworm

This provides:

  • PHP version 8.3.22
  • Apache web server
  • Debian Bookworm as the base OS

⁠System Update & Required Packages

The image includes a system update and the installation of libraries required for GD and other extensions:

⁠Docker Compose Example

Here is a sample docker-compose.yml service configuration for this image:

services:
  php-apache:
    container_name: saintfrater/php8-22-custom:latest
    ports:
      - 80:80
    tty: true
    stdin_open: true
    volumes:
      - public:/var/www/html

volumes:
  public:

⁠Notes

  • This image is suitable for production setups requiring PHP 8.3 and Apache.
  • Ensure your application files are stored in the public volume.

Tag summary

Content type

Image

Digest

sha256:aa2830b30…

Size

202 MB

Last updated

about 1 year ago

docker pull saintfrater/php8-3-22-custom