I need to install an apache module from source, but apxs2 is nowhere to be seen on the system.
apt-cache search apxs2 doesn’t help, where can it be?
A quick question on irc.freenode.net #ubuntu, and the answer is there: install apache2-prefork-dev.
I need to install an apache module from source, but apxs2 is nowhere to be seen on the system.
apt-cache search apxs2 doesn’t help, where can it be?
A quick question on irc.freenode.net #ubuntu, and the answer is there: install apache2-prefork-dev.
The only problem with this is Debian bug #243340. Making it tricky to make mod_jk on Warty.
You may obtain apxs2 by installing apache2-mpm-prefork.dev
Use “apt-file” to look for specific files to be installed.
$ apt-file search apxs
May need to do this if you have never used apt-file:
$ sudo apt-file update
Sweet. I’ve been banging my head off my desk for about an hour. I am trying to compile PHP 5.3Alpha to test some of the intl() features and that requires a custom compilation of PHP. I was hoping to use the Apache that is installed with apt-get but I assume doing so doesn’t bring along the apxs2 tool?
To be honest I’m not even sure if I need that tool to build PHP or if I might assume Apache (by default) allows dynamic modules, which I assume it does — I’ve added modules on the fly before (ie: mod_rewrite) but at least I know now when I attempt to compile and it fails I can try this and see if that corrects the issue.
Thank you kindly — I love short and sweet blog entires like this
Cheers,
Alex
The relevant package when you have a threaded apache mpm (like apache2-mpm-worker) installed is apache2-threaded-dev