Sign inSign up

ibrahimzfe/php8.4-apache-ci4-latest

By ibrahimzfe

•Updated about 1 year ago

PHP 8.4 + Apache + CodeIgniter 4 (Always Latest Build)

Image
Languages & frameworks
0

10K+

ibrahimzfe/php8.4-apache-ci4-latest repository overview

⁠PHP 8.4 + Apache + CodeIgniter 4 (Always Pull & Build Latest)

A lightweight Docker image containing PHP 8.4 with Apache and the latest CodeIgniter 4 (develop branch) automatically pulled from the official CodeIgniter4/CodeIgniter4⁠ repository.

This image is always built with:

  • The latest CodeIgniter 4 source code (develop branch)
  • The latest PHP 8.4 + Apache base image
  • Commonly used PHP extensions for CodeIgniter (intl, bz2, bcmath, opcache, calendar, pdo_mysql, mysqli)
  • Composer pre-installed

ā šŸš€ Quick Start

Pull the image:

docker pull ibrahimzfe/php8.4-apache-ci4:latest

Run a container:

docker run -d -p 8080:80 --name ci4-app ibrahimzfe/php8.4-apache-ci4:latest

Open in your browser:
šŸ‘‰ http://localhost:8080⁠


ā šŸ“‚ Inside the Container

  • CodeIgniter 4 is located in: /var/www/html/src
  • Apache DocumentRoot: /var/www/html/src/public
  • writable/ directory already configured with proper permissions

ā šŸ› ļø Notes

  • This image is designed for development and quick testing
  • For production usage, it is recommended to run this container behind a reverse proxy (Nginx/Traefik) that handles SSL/TLS
  • The image will always track the latest CodeIgniter 4 (develop branch) with the latest PHP 8.4 Apache base

ā šŸ“¦ Example with Docker Compose

version: '3.8'
services:
  app:
    image: ibrahimzfe/php8.4-apache-ci4:latest
    ports:
      - "8080:80"
  db:
    image: mysql:8.0
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: ci4
      MYSQL_USER: ci4
      MYSQL_PASSWORD: ci4pass

ā šŸ“ License

  • CodeIgniter 4 is released under the MIT License
  • This Docker image is provided as a wrapper to simplify running CodeIgniter with PHP 8.4 + Apache

Tag summary

Content type

Image

Digest

sha256:11ce7abdd…

Size

232 MB

Last updated

about 1 year ago

docker pull ibrahimzfe/php8.4-apache-ci4-latest