Re: php4.2 configure script failure using apxs2 (apache-2.0.35)
| From: | Jim Thome | Date: | Mon, 06 May 2002 17:38:32 +0000 |
| Subject: | Re: php4.2 configure script failure using apxs2 (apache-2.0.35) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6878@lists.php.net to get a copy of this message | ||
Why are the suggested causes rubbish? Number 3 says that Apache needs to be compiled with dso
support (--enable-so) and you don't have it in your Apache config line.
Recompile Apache with:
./configure \
--enable-layout=RedHat \
--enable-ssl=shared \
--enable-disk-cache \
--enable-mem-cache \
--enable-mods-shared=all \
--enable-so
make clean
make
make install
--Jim
>>> "Andy" <aaabbb@alb.org.uk> 05/06/02 10:02AM >>>
I have tried running the configure script on both the current tarball
download
version of php4.2 (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
The suggested causes above (1,2,3) are rubbish.
any ideas anyone?
Thanks in advance.
Andy :-)
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php