6ddd151ed1
Rebuild on the official PHP image instead of Sury's repo on bare Debian. Fixes surfaced along the way: missing pkg-config/libonig-dev broke the zip/mbstring extension builds, purging libzip-dev also auto-removed the libzip5 runtime lib the compiled zip.so needs, phpredis needed bumping to 6.3.0 for PHP 8.5 header compatibility, and the php-fpm.conf listen directive sed didn't match the commented-out default line so FPM never created its unix socket, causing 503s from Apache's proxy_fcgi handler. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
CORXN - The Core Foundation of Novaconium
CORXN (core-ex-en) is a lightweight yet powerful Docker-based environment designed as the core foundation for the Novaconium PHP Framework. It provides a streamlined stack featuring Apache, the latest PHP version, Redis, and MariaDB, optimized for high performance.
Features
- Base: official
php:8.5.8-fpm-trixieimage (Debian Trixie) - PHP Version: 8.5.8 (pinned)
- Apache Web Server: Configured to run PHP applications
- Support for:
remoteip(reverse proxy)redismariadb
- Timezone: Default set to Vancouver (
America/Vancouver)
Getting Started
Follow these steps to set up the PHP container on your local environment.
Usage
Clone the Repository
git clone https://git.4lt.ca/4lt/corxn.git
cd corxn
How to update image on dockerhub
sudo su
docker buildx build --no-cache -t 4lights/corxn:8.5.8 -t 4lights/corxn:latest --load .
docker login -u <username>
docker push 4lights/corxn:8.5.8
docker push 4lights/corxn:latest
Testing
Here is how to text the build:
mkdir -p data/uploads && sudo chown -R 33:33 data/uploads && chmod 775 data/uploads
docker compose up -d
# Visit: http://localhost:8000/test.php
# Test: file upload and that green checkmarks exist
Logs
docker logs corxn
