View Full Version : How to: Mod_Cband (Apache2!)
Ramsy
06-01-2006, 01:04 PM
Visit http://www.howtoforge.com/mod_cband_apache2_bandwidth_quota_throttling
selfwebhosting
06-24-2007, 04:26 AM
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?
smtalk
06-24-2007, 07:25 AM
Set the path of APXS to the configure command.
selfwebhosting
06-25-2007, 06:45 AM
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?
smtalk
06-25-2007, 06:59 AM
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?
denie
04-14-2009, 11:08 PM
just install httpd-devel (apache devel) to have APXS installed on your system.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.