Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 11:23:22 -0400
From:      "MET" <met@uberstats.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   PHP and Apache
Message-ID:  <000601c23326$11a49dd0$6801a8c0@SURVIVAL>

index | next in thread | raw e-mail

[-- Attachment #1 --]
First off thanks to all those who helped me out, I've finally gotten
everything up and running.  In doing so however I've come across 3
different options for making PHP work w/ apache.
    
    1) PHP as a CGI through Apache
 
    2) PHP as a shared Apache Module ( --with-apxs=[FILE] )
 
    3) PHP as an Apache Module ( --with-apache=[FILE] )
 
 
Basically, I'm wondering what's the big difference between the second
two, and which is better.
 
 
/**************************************************************
 
      Matthew Metnetsky
 
       <mailto:met@uberstats.com> 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=167301715-24072002><FONT face=Verdana color=#0000ff 
size=2>First off thanks to all those who&nbsp;helped me out, I've finally gotten 
everything up and running.&nbsp; In doing so however I've come across 3 
different options for making PHP work w/ apache.</FONT></SPAN></DIV>
<DIV><SPAN class=167301715-24072002>&nbsp;&nbsp;&nbsp; </SPAN></DIV>
<DIV><SPAN class=167301715-24072002>&nbsp;&nbsp;&nbsp; <FONT face=Verdana 
color=#0000ff size=2>1) PHP as&nbsp;a CGI through Apache</FONT></SPAN></DIV>
<DIV><SPAN class=167301715-24072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=167301715-24072002>&nbsp;&nbsp;&nbsp; <FONT face=Verdana 
color=#0000ff size=2>2) PHP as a shared Apache Module ( --with-apxs=[FILE] 
)</FONT></SPAN></DIV>
<DIV><SPAN class=167301715-24072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=167301715-24072002>&nbsp;&nbsp;&nbsp; <FONT face=Verdana 
color=#0000ff size=2>3) PHP as an Apache Module ( --with-apache=[FILE] 
)</FONT></SPAN></DIV>
<DIV><SPAN class=167301715-24072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=167301715-24072002><FONT face=Verdana color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=167301715-24072002><FONT face=Verdana color=#0000ff 
size=2>Basically, I'm wondering what's the big difference between the second 
two, and which is better.</FONT></SPAN></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT>&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=167301715-24072002><U><A href="mailto:met@uberstats.com"><FONT 
color=#ff0000>met@uberstats.com</FONT></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>&nbsp;</DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000601c23326$11a49dd0$6801a8c0>