4 messages in com.mysql.lists.win32Re: Newbie question continued
FromSent OnAttachments
Bonn...@m2ms.net21 Dec 2000 05:56 
Bonn...@m2ms.net21 Dec 2000 09:28 
Bonn...@m2ms.net21 Dec 2000 10:29 
Jerry Lake21 Dec 2000 10:52 
Subject:Re: Newbie question continued
From:Bonn...@m2ms.net (Bonn@m2ms.net)
Date:12/21/2000 09:28:29 AM
List:com.mysql.lists.win32

Hi Michael,

I just put test.php into c:\program files\apache group\apache\htdocs\ and got the same error message. The tutorial said to define c:\phpweb as the place to look for the web content. I believe Apache is looking into this directory because when I do http://localhost I get the contents of c:\phpweb.

Is it possible that I don't have PHP configured properly? Is there some way I can check and see if it is configured right besides trying to open a .php file?

I don't know what a URI is, but the error message says that it is invalid.

I have not learned PHP yet (that's the whole reason I am trying to set this environment up), so maybe you can tell me if there is something wrong with the contents of test.php:

Today is <? print strftime("%m/%d/%Y"); ?>

The tutorial said to paste the above line into a file called test.php and it is supposed to display today's date.

Any light anyone can shed on this problem will be much appreciated.

Bonnie

-----Original Message----- From: Michael DeVicariis <webt@ucsd-pps.ucsd.edu> To: Bonn@m2ms.net <Bonn@m2ms.net> Date: Thursday, December 21, 2000 11:24 AM Subject: RE: Newbie question continued

make sure that "c:\phpweb\test.php" is recognized by apache. By default apache wants all web content to be in c:\program files\apache group\apache\htdocs\". I'm sure that if you move your test.php file to the default directory, it'll work.

-----Original Message----- From: Bonn@m2ms.net [mailto:Bonn@m2ms.net] Sent: Thursday, December 21, 2000 5:57 AM To: win@lists.mysql.com Subject: Newbie question continued

Well, thanks to all your advice, I have downloaded apache, php and mysql.

I am following the tutorial at http://www.net-language.com/workshops/. I'm on step 9 of the titled "Installing Apache, PHP4 and MySQL on Win 98" tutorial.

When I try to test PHP by typing http://localhost/test.php in my browser window, I get the following error:

Bad Request Your browser sent a request that this server could not understand. Invalid URI in request GET /test.php HTTP/1.1

------------------------------------------------------------------

--------------

Apache/1.3.14 Server at localhost Port 80

Has anyone experienced this before and can you tell me what I am missing? What is a URI?

Thanks in advance, Bonnie