Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2002 14:25:02 -0400
From:      "MET" <met@uberstats.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   PHP Installation Issues
Message-ID:  <000701c23276$471d56b0$6a01a8c0@SURVIVAL>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C23254.C00D3D50
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I'm trying to install the PHP 4.2.2.  My ./configure command looks like
this:
 
    ./configure --with-mysql --with-xml --with-apache=../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=/usr/local/apache    as to set its directory.
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?

 
 
/**************************************************************
 
      Matthew Metnetsky
 
      met@uberstats.com
 
**************************************************************/
 

------=_NextPart_000_0008_01C23254.C00D3D50
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
color=3D#0000ff size=3D2>I'm=20
trying to install the PHP 4.2.2.&nbsp; My ./configure command looks like =

this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D611004717-23072002>&nbsp;&nbsp;&nbsp; <FONT =
face=3DVerdana=20
color=3D#ff0000 size=3D2>./configure --with-mysql --with-xml=20
--with-apache=3D../httpd-2.0.39 --enable-ftp --enable-short-tags=20
--enable-track-vars</FONT></SPAN></DIV>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
color=3D#0000ff size=3D2>Up=20
one level is the httpd-2.0.39 dir which is Apache2.&nbsp; On it I've =
only run:=20
<FONT color=3D#ff0000>./configure=20
--prefix=3D/usr/local/apache</FONT>&nbsp;&nbsp;&nbsp; as to set its=20
directory.&nbsp; I have not run "<FONT color=3D#ff0000>make</FONT>" or =
"<FONT=20
color=3D#ff0000>make install</FONT>" on apache as a tutorial i've read =
says to do=20
it later.&nbsp; So anyways. when I run the <FONT=20
color=3D#ff0000>./configure</FONT> command for PHP I get this=20
error:</FONT></SPAN></DIV>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D611004717-23072002><FONT =
color=3D#ff0000>&nbsp;&nbsp;&nbsp;=20
</FONT><FONT face=3DVerdana color=3D#0000ff size=3D2><BR><FONT=20
color=3D#ff0000>Configuring SAPI modules<BR>checking for AOLserver =
support...=20
no<BR>checking for Apache 1.x module support via DSO through APXS...=20
no<BR>checking for Apache 1.x module support... configure: error: =
--with-apache=20
does not work with Apache 2.x!</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
color=3D#0000ff=20
size=3D2><FONT color=3D#ff0000></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D611004717-23072002><FONT face=3DVerdana =
size=3D2><FONT=20
color=3D#0000ff></FONT><FONT color=3D#0000ff>Any ideas on what I am =
doing wrong and=20
how to fix it?<BR></FONT></DIV></FONT></SPAN>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA"></SPAN>&nbsp;</DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">/**************************************************************</S=
PAN></DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA"></SPAN>&nbsp;</DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Matthew Metnetsky</SPAN></DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA"></SPAN>&nbsp;</DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN=20
class=3D611004717-23072002><U><A=20
href=3D"mailto:met@uberstats.com">met@uberstats.com</A></U></SPAN></SPAN>=
</DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA"></SPAN>&nbsp;</DIV>
<DIV align=3Dleft><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: =
AR-SA">**************************************************************/</S=
PAN></SPAN></DIV>
<DIV><FONT face=3DVerdana color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0008_01C23254.C00D3D50--


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?000701c23276$471d56b0$6a01a8c0>