I've looked everywhere--been stumped on this for over a day already: I thought it would be simple to install mod_perl.so into the Apache 2.4 setup...but it was not to be. Searching here and elsewhere online, it is unclear whether mod_perl itself is being phased out of existence. FastCGI, no longer downloadable from some servers (phased out already), seems to be promoted here; but I am left wondering where one obtains it?
A friend wants to run my scripts on his Windows computer. I haven't been a Windows user in over 10 years, but thought it should be doable. I installed MySQL, Apache24, and Strawberry Perl, being careful to configure them along the way. But that's just where the problem was...it seems to be an impossible combination on a Windows 11 platform.
First, there was no 'mod_perl.so'. In attempting to compile this from the source tarball I found online (had to install WinRAR just to unpack it), I was unable to compile mod_perl owing to lack of 'make'. I downloaded a heap of stuff from Microsoft (over 8 GB) just trying to get their 'make' program among all of the other C++ development tools they wanted to feed me. And when I finally had 'nmake', it failed to compile anything on one error after another. Looking online, I was not alone. No site has a compiled version, and it's not possible to compile one. After many hours of pure frustration, I tried to substitute a packaged arrangement instead: XAMPP. So, I uninstalled everything, then installed XAMPP, which is supposed to have it all. But, even after starting the apache and mysql services, and making sure perl was in the path, I still saw code displayed in the browser instead of it's getting executed.
Turns out, XAMPP provided no mod_perl either. None.
And then I find threads here discussing whether mod_perl is even needed anymore? The future of mod_perl
If one chooses not to use mod_perl, what other option is there to get a script to actually run under Apache 2.4?
Blessings,
~Polyglot~
In reply to Is mod_perl going the way of the dinosaur? by Polyglot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |