How to: Mod_Cband (Apache2!)

I tried it, but I got this error:

checking for apxs... no
checking for apxs2... no
configure: error: apxs missing

I used "whereis apxs" command to find apxs located at /usr/sbin/apxs
while typing "whereis apxs2" find nothing. Since my apache is 2.0, I expect
to find apxs2 rather than apxs, right? Then what should I do?
 
I did. I put this line in the configure.php_ap2 file in the directadmin/customapache folder:

--with-apxs2=/usr/sbin/apxs \

and rebuild php. But still I got the same errors.

Should I use:

--with-apxs=/usr/sbin/apxs \

rather than apxs2?

NO, ADDING --with-apxs=/usr/sbin/apxs \ TO THE configure.php_ap2 FILE DID NOT WORK. IT GAVE ME THIS ERROR:

checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2. Please use the appropiate switch --with-apxs2

AND THE CONFIGURATION PROCESS STOPPED. What should I do? How can I install apxs2? I searched at google and on this forum, could not find anything useful. Could someone help?
 
Last edited:
Use "./configure --with-apxs2", you're looking not here, you need to compile mod_cband, and not apache, so why you're looking into apache configuration files?
 
just install httpd-devel (apache devel) to have APXS installed on your system.
 
Back
Top