Hello Lewis,
I've just checked out my config and ensured that apxs was fully pathed.
This didn't help though..
What do you mean about the --with-apache? AFAIK, thats used in the mod_ssl
configure phase and not used anywhere else.
I have a script based build process that deletes everything then reconfigures and
builds.
This has saved me some problems with a bad apxs in the past. Its designed to give
me
a mostly Redhat compatible system.
this is 'do' the master script
export APACHE=apache_1.3.12
export SSL=mod_ssl-2.6.2-1.3.12
export export MM=mm-1.0.11
export PERL=mod_perl-1.21_03
export DAV=mod_dav-0.9.14-1.3.6
export PHP=php-4.0b4pl1
rm -rf /usr/src/apache*
rm -rf /usr/lib/apache
cd /usr/src
tar xzf /home/ftp/pub/linux/apache/$APACHE.tar.gz
rm -rf mod_ssl*
tar xzf /home/ftp/pub/linux/apache/$SSL.tar.gz
rm -rf mod_perl*
tar xzf /home/ftp/pub/linux/apache/$PERL.tar.gz
rm -rf php*
tar xzf /home/ftp/pub/linux/apache/php/$PHP.tar.gz
cd $SSL
../do-ssl
cd /usr/src/$PERL
../do-perl
cd /usr/src/$APACHE
../do-apache
#Now with apache installed, we can switch to apxs mode
cd /usr/src/$PHP
../do-php
====================
the do-ssl is this..
SSL_BASE=SYSTEM
./configure --with-apache=/usr/src/$APACHE \
--with-mm=/usr/src/$MM
====================
the do-perl is
perl Makefile.PL \
EVERYTHING=1 USE_APACI=1 PREP_HTTPD=1 \
APACHE_SRC=/usr/src/$APACHE \
DO_HTTPD=1
make
make install
====================
the do-apache is
SSL_BASE=SYSTEM
./configure \
--prefix=/etc/httpd \
--sysconfdir=/etc/httpd/conf \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--mandir=/usr/man \
--logfiledir=/var/log/httpd \
--datadir=/home/httpd \
--proxycachedir=/var/log/cache/httpd \
--runtimedir=/var/run \
--localstatedir=/var/run \
--libexecdir=/usr/lib/apache \
--enable-suexec \
--suexec-docroot=/var/www \
--suexec-uidmin=500 \
--suexec-gidmin=500 \
--enable-module=most \
--enable-module=ssl \
--enable-shared=max \
--enable-shared=ssl \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl
make
make install
====================
the do-php is
./configure \
--prefix=/usr/local \
--sbindir=/usr/sbin \
--sysconfdir=/etc/php3 \
--libdir=/usr/local/lib \
--sharedstatedir=/var/run \
--localstatedir=/var/run \
--with-config-file-path=/etc/php3 \
--with-apxs=/usr/sbin/apxs \
--with-x \
--with-gd=/usr \
--with-pgsql=/usr \
--with-xml \
--with-mysql \
--enable-trans-sid \
--enable-track-vars \
--with-imap=/usr/src/c-client \
--with-wddx \
--with-ftp \
--with-mm=/usr/src/$MM 2>&1 > /tmp/php.log
make
make install
> I just compiled php4 and 1.3.12 + mod_ssl 2.6.2 yesterday without a problem.
>
> I don't know what your php configure line looked like but that is most likely
> the problem. Mine looked like:
>
> ./configure \
> --with-apxs=/usr/local/apache/bin/apxs \
> --enable-versioning \
> --enable-track-vars \
>
> I did have problems with the --with-apache=[DIR] switch which gave me your
> results. Make sure you put the full path to the apxs script, up to and
> including the script. For some reason php won't find it even if you put it in
> your path. Maybe it doesn't execute it but actually pulls variables out; I
> don't know .
>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]