Opened 14 years ago
Closed 13 years ago
#24994 closed defect (invalid)
php52: apache2 +preforkmpm depdency test fails when apache modules compiled statically
Reported by: | info@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php52 |
Description
If apache2 is compiled with static modules, mod_cgi.so doesn't appear in the modules directory, and the apache2 variant dependency test fails.
Perhaps a more reliable test would be to check the output of ${prefix}/apache2/bin/apachectl -M.
If I knew off the top of my head how to script the test, I'd submit a patch.
For those encountering this problem:
Putting any file named mod_cgi.so in <macports-directory>/apache2/modules allows this port to install.
Whether it works is yet to be seen...
Change History (4)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Cc: | jwa@… added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:2 follow-up: 3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to info@…:
If apache2 is compiled with static modules,
How does one compile MacPorts apache2 with static modules?
comment:3 follow-up: 4 Changed 14 years ago by info@…
How does one compile MacPorts apache2 with static modules?
In a nutshell, by changing the configure arguments... making a private local port, a patch, or by editing the port file (I know the latter is probably not advisable).
I know one could ask why not just branch or change the php52 port as well... Could, for sure.
Just putting this out there as a way to handle a wider variety of apache2 configurations with this port, and to document a workaround for anyone who encounters the problem.
Update on the workaround: As far as I can tell, it's working fine. I'm running a PHP / MySQL app with no problems encountered.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Summary: | apache2 +preforkmpm depdency test fails when apache modules compiled statically → php52: apache2 +preforkmpm depdency test fails when apache modules compiled statically |
Replying to info@…:
How does one compile MacPorts apache2 with static modules?
In a nutshell, by changing the configure arguments... making a private local port, a patch, or by editing the port file (I know the latter is probably not advisable).
Not supported. If you're already locally editing your apache port to do this, then you can locally edit your php52 port too.
Please remember to cc the maintainers.