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

[-- Attachment #1 --]
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
 
**************************************************************/
 

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana color=#0000ff size=2>I'm 
trying to install the PHP 4.2.2.&nbsp; My ./configure command looks like 
this:</FONT></SPAN></DIV>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=611004717-23072002>&nbsp;&nbsp;&nbsp; <FONT face=Verdana 
color=#ff0000 size=2>./configure --with-mysql --with-xml 
--with-apache=../httpd-2.0.39 --enable-ftp --enable-short-tags 
--enable-track-vars</FONT></SPAN></DIV>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana color=#0000ff size=2>Up 
one level is the httpd-2.0.39 dir which is Apache2.&nbsp; On it I've only run: 
<FONT color=#ff0000>./configure 
--prefix=/usr/local/apache</FONT>&nbsp;&nbsp;&nbsp; as to set its 
directory.&nbsp; I have not run "<FONT color=#ff0000>make</FONT>" or "<FONT 
color=#ff0000>make install</FONT>" on apache as a tutorial i've read says to do 
it later.&nbsp; So anyways. when I run the <FONT 
color=#ff0000>./configure</FONT> command for PHP I get this 
error:</FONT></SPAN></DIV>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=611004717-23072002><FONT color=#ff0000>&nbsp;&nbsp;&nbsp; 
</FONT><FONT face=Verdana color=#0000ff size=2><BR><FONT 
color=#ff0000>Configuring SAPI modules<BR>checking for AOLserver support... 
no<BR>checking for Apache 1.x module support via DSO through APXS... 
no<BR>checking for Apache 1.x module support... configure: error: --with-apache 
does not work with Apache 2.x!</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana color=#0000ff 
size=2><FONT color=#ff0000></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=611004717-23072002><FONT face=Verdana size=2><FONT 
color=#0000ff></FONT><FONT color=#0000ff>Any ideas on what I am doing wrong and 
how to fix it?<BR></FONT></DIV></FONT></SPAN>
<DIV>&nbsp;</DIV>
<DIV align=left><SPAN 
style="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=left><SPAN 
style="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></DIV>
<DIV align=left><SPAN 
style="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=left><SPAN 
style="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; 
Matthew Metnetsky</SPAN></DIV>
<DIV align=left><SPAN 
style="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=left><SPAN 
style="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 
class=611004717-23072002><U><A 
href="mailto:met@uberstats.com">met@uberstats.com</A></U></SPAN></SPAN></DIV>
<DIV align=left><SPAN 
style="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=left><SPAN 
style="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 
style="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></SPAN></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c23276$471d56b0$6a01a8c0>