php icon indicating copy to clipboard operation
php copied to clipboard

apache2: not found on shinsenter/php:8.3-fpm-apache image

Open swindex opened this issue 1 month ago β€’ 5 comments

Hello, getting error pulling fresh shinsenter/php:8.3-fpm-apache Index digest with an issue: sha256:10e2f1ff6e63f2a70803e70c40beeec85de1e6c10fc38227c0219c4f809bf6bb Pinning to this one fixes it for me: php:8.3-fpm-apache@sha256:575adc2e6501878f108c92019262207e2cb3cab868a210a7748d5b4ccaede551


β–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–ˆβ–‘β–€β–ˆβ–€β–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–„β–‘β–‘β–‘β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–€β–ˆ
β–‘β–€β–€β–ˆβ–‘β–ˆβ–€β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–‘β–ˆβ–‘β–€β–€β–ˆβ–‘β–ˆβ–€β–€β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–ˆβ–‘β–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–„β–‘β–„β–€β–‘β–‘β–ˆβ–€β–€β–‘β–ˆβ–€β–ˆβ–‘β–ˆβ–€β–€
β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–€β–€β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–‘β–€β–‘β–‘β–€β–€β–€β–‘β–€β–‘β–€β–‘β–€β–‘β–‘β–‘β–€β–‘β–‘β–‘β–€β–‘β–€β–‘β–€β–‘β–‘
If you find my Docker images useful, consider donating via PayPal:
 -> https://www.paypal.me/shinsenter
(To edit this welcome message, add your text to /etc/welcome.txt)
---------------
Docker Images by SHIN Company
Copyright (C) 2026 Mai Nhut Tan <[email protected]>
This software is free under the GNU General Public License (GPL).
You can redistribute and/or modify it under the terms of the GNU GPL.
This program is provided with the hope that it will be useful,
but it comes WITHOUT ANY WARRANTY. For more details, refer to the GNU GPL.
To get support, please contact: Mai Nhut Tan <[email protected]>
Docker Hub:      https://hub.docker.com/u/shinsenter
GitHub Packages: https://github.com/shinsenter?tab=packages
---------------
Container     : shinsenter/phpfpm-apache (built: 2026-11-04T18:32:23+0000)
Distro        : Debian GNU/Linux 13 (trixie) (arch: linux/amd64)
Timezone      : UTC (GMT+0000)
UID / GID     : www-data:www-data (33:33)
App Root      : /var/www/html
Document Root : /var/www/html/public
---------------
With s6-overlay v3.2.3.2
PHP 8.3.36 (fpm-fcgi) (built: Oct 28 2026 01:27:03)
Copyright (c) The PHP Group
Zend Engine v4.3.36, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.36, Copyright (c), by Zend Technologies
Composer version 2.11.1 2026-10-30 14:52:10
/etc/hooks/server/init-apache: line 19: /etc/apache2/mods-enabled/timeout.conf: No such file or directory
/etc/hooks/server/init-apache: line 58: apache2: command not found
/usr/local/utils/with-env: line 50: exec: apache2: not found
run-parts: /etc/hooks/server/init-apache exited with return code 127
[04-Nov-2026 19:02:50] NOTICE: fpm is running, pid 687
[04-Nov-2026 19:02:50] NOTICE: ready to handle connections
/usr/local/utils/with-env: line 50: exec: apache2: not found
/usr/local/utils/with-env: line 50: exec: apache2: not found
/usr/local/utils/with-env: line 50: exec: apache2: not found
/usr/local/utils/with-env: line 50: exec: apache2: not found

swindex avatar Nov 04 '26 20:11 swindex

We’re experiencing the same issue with the shinsenter/codeigniter4:php8.5-apache image. The container reports apache2: not found, while PHP-FPM starts successfully. This began after rebuilding the image. Pinning the base image to a digest may be a temporary workaround. Could you confirm whether the image contents or tag changed recently?

Alejooc avatar Nov 04 '26 20:11 Alejooc

@swindex @Alejooc thanks for the reports. I'm checking this now.

I'll try rebuilding the new images and will post the build details here (image tags and digests) once they are ready.

shinsenter avatar Nov 05 '26 00:11 shinsenter

The fix is merged to main in #452, and the images are being rebuilt. You can follow the build here:

https://github.com/shinsenter/php/actions/runs/41945196679

I'll post the tags and digests here when the build is done.

shinsenter avatar Nov 05 '26 01:11 shinsenter

@swindex @Alejooc the fix is published. The images were rebuilt from main (#452) and apache2 is back in the Debian Apache images.

Pull the image again to get the fixed version. If you pinned an older digest as a workaround, you can unpin it. The Debian FrankenPHP images had the same problem and also lost mailcap and media-types. They are rebuilt too.

shinsenter avatar Nov 05 '26 03:11 shinsenter

Thanks for the quick fix, @shinsenter Really appreciate your help and all the work you put into maintaining these images. Keep up the great work!

Alejooc avatar Nov 05 '26 12:11 Alejooc