Installing apxs2 on Ubuntu Warty
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.
February 20th, 2005 at 6:51 am
The only problem with this is Debian bug #243340. Making it tricky to make mod_jk on Warty.
May 22nd, 2005 at 9:00 am
You may obtain apxs2 by installing apache2-mpm-prefork.dev
September 4th, 2007 at 1:29 am
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
November 15th, 2008 at 3:30 am
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