-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
passenger-install-apache2-module unable to detect MPM with Apache 2.4 #1577
Comments
By the way I'm getting the same warning on Ubuntu 15. I think it really just depends on the Apache version: 2.4.x |
Which Passenger version are you using? |
@FooBarWidget I get the message also on Ubuntu 14.04, apache 2.4.7, latest stable. |
5.0.15 |
It turns out the problem is not related to the Apache version, but to the way distributions wrap around the apache2ctl script. We run 'apache2ctl -V' to detect the MPM, but that command doesn't work on recent Ubuntu versions if the config file contains an error. And now, it seems Red Hat behaves like that too. I am on OS X, which doesn't do this. We already check for broken config files and display a different warning in that case, but it seems the check didn't work correctly. This has now been fixed. |
…dates the system Together with f039db1913, closes GH-1577.
When running
passenger-install-apache2-module
, I get this warning:However, this warning is not applicable in RHEL 7, since these modules don't need to be compiled with Apache, but rather are loaded as modules in the configuration file. See the "Processing Model" section at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Web_Servers.html#s2-apache-version2-changes
There probably still is some sort of check that should be done--perhaps make sure that exactly 1 of the modules is loaded by the configuration file. But the warning needs to be reworded.
Passenger installed as gem. RVM 1.26.11. Ruby 2.2.2.
The text was updated successfully, but these errors were encountered: