Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 22:58:30 +0200
From:      Mark Rowlands <mark.rowlands@minmail.net>
To:        "MET" <met@uberstats.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: PHP Installation Issues
Message-ID:  <200207232258.30038.mark.rowlands@minmail.net>
In-Reply-To: <000701c23276$471d56b0$6a01a8c0@SURVIVAL>
References:  <000701c23276$471d56b0$6a01a8c0@SURVIVAL>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue July 23 2002 20:25, MET wrote:
> I'm trying to install the PHP 4.2.2.  My ./configure command looks like
> this:
>
>     ./configure --with-mysql --with-xml --with-apache=3D../httpd-2.0.39
> --enable-ftp --enable-short-tags --enable-track-vars
>
> Up one level is the httpd-2.0.39 dir which is Apache2.  On it I've only
> run: ./configure --prefix=3D/usr/local/apache    as to set its director=
y.
> I have not run "make" or "make install" on apache as a tutorial i've
> read says to do it later.  So anyways. when I run the ./configure
> command for PHP I get this error:
>
>
> 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... configure: error:
> --with-apache does not work with Apache 2.x!
>
> Any ideas on what I am doing wrong and how to fix it?
>

er.... why not use ports?..........=20

cd /usr/ports/www/apache2
make -DWITH_APXS install clean
cd /usr/ports/www/mod_php4
make -DWITH_APACHE2 install clean




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207232258.30038.mark.rowlands>