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>
23 lines
499 B
Plaintext
23 lines
499 B
Plaintext
<VirtualHost *:80>
|
|
ServerName localhost
|
|
|
|
DocumentRoot /data/public
|
|
|
|
<Directory /data/public>
|
|
Options FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
# PHP-FPM handler
|
|
<FilesMatch \.php$>
|
|
SetHandler "proxy:unix:/run/php/php-fpm.sock|fcgi://localhost/"
|
|
</FilesMatch>
|
|
|
|
# Docker-friendly logging
|
|
ErrorLog /proc/self/fd/2
|
|
CustomLog /proc/self/fd/1 combined
|
|
|
|
</VirtualHost> |