I'm trying to install the latest PHP after I've upgraded Apache. The Apache install works OK.
When I try & configure PHP, I get the following from ./configure garner:/home/downloads/Linux/php-4.1.0# ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-force-cgi-redirect --enable-ftp --enable-gd-native-ttf --with-pgsql=/usr/local/pgsql/lib --enable-trans-sid --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-gd --enable-magic-quotes --with-mysql=/usr/local/mysql loading cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... no checking for mawk... mawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... -pthread checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. '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 I installed 4.1.0 on my old Apache install the other day, and that worked fine, so all I can assume is that there something different about Apache 1.3.22's apxs? I've read the suggestions in the FAQ about apxs, and the first problem was present, but adding the entries suggested made no difference. -- | Stuart Grimshaw <[EMAIL PROTECTED]> | Chief Operations Officer | Football Networks Ltd |- | t:07976 625221 | f:0870 7060260 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]