With the release of OS X 10.10 Yosemite, Apple upgraded its Apache server to version 2.4.
At release time, mod_perl 2.0.8 was incompatible with Apache 2.4, and mod_perl 2.0.9 had not yet been officially released (more info).
So, Apache was included without mod_perl.
I work locally on a web site using perl and need to install mod_perl.
I'm an experienced programmer, but I have never done anything like this before and have only my main machine to work on. I don't mind spending some time to figure this out, but I can't afford to bork my local server.
How does one install mod_perl on OS X Yosemite?
Sub-questions:
- which version should I install?
- do I download it to the install location or elsewhere?
- where do I install it?
- are there other dependencies that need to be installed beforehand?
- do I have to re-create the apache install or is the mod_perl installation self-contained?
I'm experienced in bash and very comfortable using Terminal.
perl Makefile.PL
andmake
butmake test
failed and I was unable to runmake install
. no mod_perl.so file was created (which is required for themake test
step. I gave up for now, perhaps you'll have better luck. – Manpower