-
-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Labels
🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.Something isn't working, but needs to be confirmed by a team member.
Description
Steps To Reproduce
- Run
docker run --rm -v $(pwd):/var/www/html -p 8080:8080 serversideup/php:8.4.14-fpm-apache-v4.0.0-beta3into a PHP project
Outcome
What did you expect?
A fully functional PHP server that processes PHP files through PHP-FPM.
What happened instead?
Error:
[core:error] [pid 127:tid 127] (EAI 2)Name or service not known: AH00547: Could not resolve host name *:${APACHE_HTTP_PORT:8080} -- ignoring!
This makes apache ignores the VirtualHost configuration, resulting in all files (including PHP) being served as static files instead of being processed by PHP-FPM.
Affected Docker Images
All fpm-apache versions in v4.0.0-beta3
Anything else?
Full log:
--------------------------------------------------------------------
____ ____ _ _ _ _
/ ___| ___ _ ____ _____ _ __ / ___|(_) __| | ___ | | | |_ __
\___ \ / _ \ __\ \ / / _ \ __| \___ \| |/ _` |/ _ \ | | | | _ \
___) | __/ | \ V / __/ | ___) | | (_| | __/ | |_| | |_) |
|____/ \___|_| \_/ \___|_| |____/|_|\__,_|\___| \___/| .__/
|_|
Brought to you by serversideup.net
--------------------------------------------------------------------
📚 Documentation: https://serversideup.net/php/docs
💬 Get Help: https://serversideup.net/php/community
🙌 Sponsor: https://serversideup.net/sponsor
-------------------------------------
ℹ️ Container Information
-------------------------------------
📦 Versions
• Image: v4.0.0-beta3-19117516691
• PHP: 8.4.14
• OS: Debian GNU/Linux 13 (trixie)
👤 Container User
• User: www-data
• UID: 33
• GID: 33
⚡ Performance
• OPcache: ❌ Disabled
• Memory Limit: 256M
• Upload Limit: 100M
🔄 Runtime
• Docker CMD: /init
👉 [NOTICE]: Improve PHP performance by setting PHP_OPCACHE_ENABLE=1 (recommended for production).
ℹ️ NOTICE (generate-ssl): SSL mode is off, so we won't generate a self-signed SSL key pair.
ℹ️ NOTICE (init-webserver-config): Enabled configuration 'remoteip'...
ℹ️ NOTICE (init-webserver-config): 'security' configuration already enabled, skipping...
ℹ️ NOTICE (init-webserver-config): Enabled configuration 'serversideup'...
ℹ️ NOTICE (init-webserver-config): Enabling Apache site with SSL 'off'...
[16-Nov-2025 02:10:45] NOTICE: fpm is running, pid 72
[16-Nov-2025 02:10:45] NOTICE: ready to handle connections
[Sun Nov 16 02:10:45.932456 2025] [core:error] [pid 127:tid 127] (EAI 2)Name or service not known: AH00547: Could not resolve host name *:${APACHE_HTTP_PORT:8080} -- ignoring!
[Sun Nov 16 02:10:45.935800 2025] [core:error] [pid 127:tid 127] (EAI 2)Name or service not known: AH00547: Could not resolve host name *:${APACHE_HTTP_PORT:8080} -- ignoring!
[Sun Nov 16 02:10:45.936855 2025] [mpm_event:notice] [pid 127:tid 127] AH00489: Apache/2.4.65 (Debian) OpenSSL/3.5.1 configured -- resuming normal operations
[Sun Nov 16 02:10:45.936862 2025] [core:notice] [pid 127:tid 127] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
localhost:80 127.0.0.1 - - [16/Nov/2025:02:10:45 +0000] "GET /healthcheck HTTP/1.1" 404 512 "-" "curl/8.14.1"
Metadata
Metadata
Assignees
Labels
🧐 Bug: Needs ConfirmationSomething isn't working, but needs to be confirmed by a team member.Something isn't working, but needs to be confirmed by a team member.