Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
passenger-install-apache2-module should allow Apache config sanity check skip #1525
Passenger 4.0.59: The installer for the apache2 module should have a flag to skip the apache config sanity check. I'm currently upgrading my Apache installations to 2.4, from 2.2 that is already running Passenger and configured correctly. apache 2.4 can't load the passenger module, so a configtest properly complains about it. I can't re-build Passenger without commenting out every reference to Passenger everywhere across my apache configuration to get it to pass this sanity check that isn't doing anything but preventing me from re-compiling the module and then uncommenting them.
Passenger shouldn't really care whether the apache config is broken or not to begin with, this is the kind of hand holding that just creates more issues than it solves.
Passenger has legit reasons to care whether the Apache config is broken or not. It happened more than once that people tried to install Passenger, but had an (unrelated) Apache problem, couldn't figure out why their Apache wouldn't start, then contact our support forums in anger or even switch away thinking that Passenger is garbage. We want to avoid that. So we will not step away from the "hand-holding" approach.
Another reason is that all kinds of autodetection routines depend on the output of
However, on recent Ubuntu systems,
Anyway, it is correct that the installer should advise, but not enforce. I've made a change so that the installer nags you with a clear warning, but still allows you to continue.
I remain convinced that the hand-holding approach is the way to go, though it may occasionally need refinements here and there.