opened
wmertens
username_0
* Verify configuration with httpd -t
* Some minor editing of option descriptions
* Make Event MPM the default on v2.4 

@username_3 any objections? The config check can be turned off and Event is good starting with kernel 2.6...
Apache configuration improvements
issue
created
lethalman
username_1
Did you try PHP with mpm? It's a different setup, I guess this is going to break every php deployment.
comment
created
wmertens
username_0
Hmm I see, mod_php is threadsafe nowadays but extensions may not be... http://serverfault.com/questions/383526/how-do-i-select-which-apache-mpm-to-use

So I propose we force the event model to be prefork when mod_php is enabled?
comment
created
lethalman
username_1
@username_0 no it's just completely different. mpm event is similar to how you setup nginx with php using fpm and external servers. It doesn't use mod_php.
comment
created
wmertens
username_0
@username_1 if one is not using mod_php there is no problem, that works fine
with event and worker…
comment
created
wmertens
username_0
Here's how PHP should be configured on Apache v2.4: http://wiki.apache.org/httpd/PHP-FPM

I think enabling PHP on the service should configure that instead of mod_php.
comment
created
wmertens
username_0
I just realized that choosing the MPM module based on the version rebuilds the man pages when changing the package version so I took that out again.

@username_3 the test now works when the user doesn't exist yet, good catch :)
comment
created
globin
username_2
Yeah we should definitely go for using php-fpm only and ditch mod_php if possible. PHP internals has thought about deprecating mod_php but it sadly still is used too often to get rid of it.. I'll have a look at freshening up the fpm module to be configurable in a more human-friendly way soon and try to get support for that into apache by flicking over a simple switch.
comment
created
edolstra
username_3
Note that we used to check the Apache configuration file, but we got rid of it because it was too much trouble: 4a95f8996b11ca9876e24a37d4b521925a1c33bf
comment
created
wmertens
username_0
Another reason for having an out… looks like I need to fix ssl key testing
in sandbox :-)
comment
created
rasendubi
username_4
(triage) @username_0 status?
comment
created
wmertens
username_0
Hmm totally forgot about this one. IIRC the problem was that when testing the configuration it needed to access the network for verifying SSL certificates. I suppose that could be fixed by stripping them out before testing, or at least filter out errors due to SSL certificates.

Problem is that I'm not using Apache at the moment. Anybody up for completing this?
comment
created
wmertens
username_0
It is indeed too bothersome to have this.
comment