For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2005 > Installing 4.3.0 for Apache 2.0.54 DSO









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Installing 4.3.0 for Apache 2.0.54 DSO
Rob Tanner

2005-09-07, 6:57 pm

Hi,

I'm trying to build PHP 4.3.0 as a DSO for apache 2.0.54, and I get the
following error running configure:

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/local/apache2/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>] [-p] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting


The configure option is --with-apxs2=/usr/local/apache2/bin/apxs. The
file does exist and the path to perl is correct and apache was
explicitly build with --enable-so (and when I invoke apache with the -l
option to list the built-in modules, mod.so.c shows up).

So, having satisfied myself that reasons 1 thru 3 don't apply, any idea
what else might be causing this problem?

Thanks,
Rob


--

Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com