NYCPHP Meetup

NYPHP.org

[nycphp-talk] Config Problems, Apache-PHP on Windows

CHUN-YIU LAM chun_lam at hotmail.com
Tue Dec 17 22:55:16 EST 2002


If you are trying to put php to work with apache,  you have to add
LoadModule
AddModule
and AddType into httpd.conf file to make it work with apache.  Also, adjust 
your php.ini file too.

----Original Message Follows----
From: "Bradley Baumann" <bradley at bestweb.net>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] Config Problems, Apache-PHP on Windows
Date: Tue, 17 Dec 2002 12:35:28 -0500
Received: from mc1-f14.law16.hotmail.com ([65.54.236.21]) by 
mc1-s17.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 
2002 09:44:28 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by 
mc1-f14.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Tue, 17 Dec 
2002 09:44:27 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by 
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBHHZSSt048050;Tue, 17 Dec 
2002 12:35:29 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200212171735.gBHHZSSt048050 at parsec.nyphp.org>
X-Paralist-Archived: <http://nyphp.org/list/paralist_archive.php?L_mid=1942>
X-List-Software: Paralist 0.6
List-ID: <nyphptalk.nyphp.org>
List-Owner: <mailto:listmaster at nyphp.org>
List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=1>
List-Subscribe: <http://nyphp.org/list/>
List-Unsubscribe: <http://nyphp.org/list/>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 17 Dec 2002 17:44:28.0113 (UTC) 
FILETIME=[F255A410:01C2A5F3]

It doesn't matter what code you have in the .php file, what the webserver is
trying to "say" is that it doesn't know how to handle files with a php file
extension. I'm not sure how you set everything up... but you need to
configure the webserver to recognize them.
----- Original Message -----
From: "jessica kelly" <jkelly at sussex.cc.nj.us>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Tuesday, December 17, 2002 12:19 PM
Subject: [nycphp-talk] Config Problems, Apache-PHP on Windows


 > I'm trying to get Apache 1.3.26 and PHP 4.2.3 setup on my win production
computer after a crash a week ago. I don't want to use the PHP module for
apache I'd rather run it as a separate program. I'll worry about MySQL after
I have the PHP working.
 >
 > After setting up per the instructions from adslworld (A.K.A. GeekForums) 
I
get this message upon trying to get the phpinfo();
 > "You have chosen to download a file of type: application/x-httpd-php from
127.0.0.1/a/test.php"
 > The page will not display and acts as if it is a download. When I do
download & display the page it only has the <? phpinfo(); ?> text and that
is it so the server is not processing the PHP.
 >
 > Anyone have a clue? I've been at this since Friday and have compared the
conf file with my web server conf file (That's working fine, Apache-1.3.24
PHP-4.0.5). It has to be something simple I'm overlooking....
 >
 > TIA,
 >
 > Jessica
 >
 >
 >
 >
 >
 >
 >
 >
 >



--- Unsubscribe at http://nyphp.org/list/ ---


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus




More information about the talk mailing list