Hi,
I'm trying to compile PHP 4.1.2 with the following:
root@localhost:/home/luiz/php-4.1.2# ./configure
--with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local
--enable-sockets --enable-track-vars --with-gd=../gd-1.8.4
My Apache is 1.3.23, the configure returns this message:
Sorry, I was not able to successfully run APXS. Possible reasons:
- Perl is not installed;
- Apache was not compiled with DSO support (--enable-module=so);
- 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/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
root@localhost:/home/luiz/php-4.1.2#
I guess that the configure command is trying to use apxs by a irregular
way, because i typed the correctly path to apxs in the command.
I tried the 4.2.2 PHP's version too, i have the same error message. And
the 1.3.26 Apache's version...
Waiting for replys,
Luiz Gustavo Cardoso Ribeiro