From: [EMAIL PROTECTED] Operating system: RedHat 7.2 PHP version: 4.0CVS-2002-05-04 PHP Bug Type: Apache2 related Bug description: Configure failure using apxs2
I have tried running the configure script on both the current download version of php4 and also the latest CVS version. The compile script stops when it checks for apxs. I used the following command on both occations: ./configure --with-mysql --with-apxs2=/usr/sbin/apxs I have re-compiled apache-2.0.35 several times in the belief that there was a problem with the installation. The configure command used for apache is: ./configure --enable-layout=RedHat --enable-ssl=shared --enable-disk-cache --enable-mem-cache --enable-mods-shared=all Apache compiles successfuly and works as expected. The end of the php4 configure script follows: ... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/sbin/apxs follows: Usage: apxs -g [-S <var>=<val>] -n <modname> apxs -q [-S <var>=<val>] <query> ... apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>] <files> ... apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ... apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ... configure: error: Aborting Thanks in advance. Yours, Andy B -- Edit bug report at http://bugs.php.net/?id=17005&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17005&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17005&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17005&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17005&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17005&r=support Expected behavior: http://bugs.php.net/fix.php?id=17005&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17005&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17005&r=submittedtwice