Comments (10)
I just ran into this issue as well. I copied a default-ssl.conf file into sites-enabled for an image that uses this one as it's base. Was wondering for a while why I was getting SSL handshake errors when trying to access the site.
from php.
Why aren't we using /usr/sbin/apache2ctl to start apache rather than /usr/sbin/apache2? The former sets up environment variables and creates log directories that are missing and a whole slew of things that Apache may need.
from php.
creates log directories that are missing and a whole slew of things that Apache may need.
Setting up the log directories isn't needed; logs are sent to STDOUT (see apache2.conf#L51) so that they are handled by the docker daemon
from php.
conf-enabled
contains some vhost-log-configuration which should be disabled for this reason (see my original post). It is also referenced by the included default vhost configuration, so this is to be removed, too.
from php.
@JensErat, you are correct. We should fix the image to have those includes (and wipe out the contents of those directories). Care to make a PR 🙏?
from php.
The patch removes the symlinks for the enabled configuration, but leaves the original files in place (similar how we keep the original Apache configuration as apache2.conf.dist
). There are incompatibilities in them, but also in the dist configuration, who ever enables them should know what he's doing anyway. But most of the file's contents is commented out anyway.
The alternative would be to also wipe out the disabled configuration, but I don't see this would do any harm.
Sorry for the two force pushes polluting the issue report, I failed at adding the latest change in the --amend
commit before pushing it...
from php.
@JensErat: could you please make a PR with your change 🙏?
from php.
Sure, see #78.
from php.
Thanks a lot @JensErat. @yosifkit, the PR is there :)
from php.
Close this issue @JensErat ?
from php.
Related Issues (20)
- [php:8.3-apache] apt-get update is not working anymore (GPG error) HOT 1
- [php:8.3-apache] HIGH Vulnerability on apache <=2.4.57 HOT 4
- curl error on php:8.2-apache (bookworm) HOT 1
- Add Support for shmop HOT 1
- Remove archive php.tar.xz from final images HOT 1
- php8.2.15 removed ftp extension HOT 12
- Connectivity issue after php:8.0-fpm HOT 13
- Error during build prod.Dockerfile
- Changes on httpd without reload HOT 6
- Configuring PHP directives without custom images HOT 5
- Can't install php7.4-sybase package on php:7.4-apache-bullseye HOT 3
- iconv ASCII//TRANSLIT invalid argument HOT 2
- Php
- Add mlocati/docker-php-extension-installer to base image HOT 1
- Update apache 2.4.57-2 to 2.4.58-1 HOT 4
- ext-sockets won't compile in official Docker image 8.3.3-fpm-alpine3.19 HOT 2
- Interpreter does not resolve builtin functions when provide nonexistente file to opcache.preload option HOT 1
- Can't rename the php.ini-development HOT 2
- Podman php:cli with xdebug: Unable to debug php:cli in Visual Studio Code when using podman (Works in Docker) HOT 10
- Bundled curl version is causing segfault HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php.