From owner-freebsd-questions Tue Jul 23 13:58:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A304B37B400 for ; Tue, 23 Jul 2002 13:58:41 -0700 (PDT) Received: from rush.telenordia.se (mail.telenordia.se [194.213.64.42]) by mx1.FreeBSD.org (Postfix) with SMTP id 3614D43E42 for ; Tue, 23 Jul 2002 13:58:40 -0700 (PDT) (envelope-from mark.rowlands@minmail.net) Received: (qmail 11779 invoked from network); 23 Jul 2002 22:57:34 +0200 Received: from bb-62-5-36-29.bb.tninet.se (HELO pcmarpxy.tninet.se) (62.5.36.29) by mail.telenordia.se with SMTP; 23 Jul 2002 22:57:34 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Mark Rowlands To: "MET" , Subject: Re: PHP Installation Issues Date: Tue, 23 Jul 2002 22:58:30 +0200 User-Agent: KMail/1.4.2 References: <000701c23276$471d56b0$6a01a8c0@SURVIVAL> In-Reply-To: <000701c23276$471d56b0$6a01a8c0@SURVIVAL> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207232258.30038.mark.rowlands@minmail.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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