apxs2: command not found even I have "--with-apxs2 \" in my configure.php file??

redjersey

Verified User
Joined
Apr 22, 2013
Messages
91
Location
Toronto, Canada
apxs2: command not found even I have "--with-apxs2 \" in my configure.php file??

I'm currently using custombuild 2.0 with mod_ruid + php 5.3.

In my /usr/local/directadmin/configure/ap2/configure.php53

I have the following:
#!/bin/sh
./configure \
--with-apxs2 \
--with-config-file-scan-dir=/usr/local/lib/php.conf.d \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-libxml-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=mysqlnd \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mysqli=mysqlnd \
... ...

but when I run: apxs2 -a -i -c mod_cloudflare.c
I got:
apxs2: command not found

??
 
this is what i got:

find / -name apxs\*
/usr/sbin/apxs
/usr/bin/apxs
/var/www/manual/programs/apxs.html.ko.euc-kr
/var/www/manual/programs/apxs.html
/var/www/manual/programs/apxs.html.fr
/var/www/manual/programs/apxs.html.en
/var/www/manual/programs/apxs.html.tr.utf8
/etc/httpd/man/man1/apxs.1
/etc/httpd/man/man8/apxs.8

so instead of running: apxs2 -a -i -c mod_cloudflare.c
should I replace it with: apxs -a -i -c mod_cloudflare.c??
 
Back
Top