PHP4.0.6 configure error with apache 2.0.16
| From: | Tyler Longren | Date: | Fri, 09 Nov 2001 22:52:32 +0000 |
| Subject: | PHP4.0.6 configure error with apache 2.0.16 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74064@lists.php.net to get a copy of this message | ||
Hello list,
I tried to compile apache 2.0.16 with php 4.0.6. Here's my ./configure line
for apache:
./configure --prefix=/usr/local/apache2 --enable-module=so
And here's my ./configure line for PHP:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --disable
-debug --enable-track-vars --with-ftp --with-xml
And here's the error I get from the ./configure in PHP:
checking for Apache 2.0 module support via DSO through APXS...
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: Sorry, I cannot run apxs. Either you need to install Perl
or you need to pass the absolute path of apxs by
using --with-apxs2=/absolute/path/to/apxs
Anyone know what's going on? I have perl installed.
Tyler