Re: Re: Installing PHP - 2nd try

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



PHP will not, by default, parse .htm or .html files.  Try renaming it to
index.php (the standard PHP file extension) or modify your web server to
allow PHP to parse those files.

Hope this helps.
-- 
Peter Ellis - pellis@xxxxxxxxxxxxxxx
Web Design and Development Consultant
naturalaxis | http://www.naturalaxis.com/

On Mon, 2004-08-30 at 09:06 -0700, Judy Picard wrote:
> --- Judy Picard <judypicard@xxxxxxxxx> wrote:
> 
> > I believe I have an installation problem on my WinXP
> > machine. I have some .htm files with PHP within in
> > my localhost [wwwroot] directory. 
> > When I open the major one [I wrote but I think it's
> > mostly correct] in IE6, I get an error on line 69
> > [which is the end of my PHP.] When I open in IE6 a
> > test file:
> > **********************************
> > <!doctype html public "-//W3C//DTD HTML 4.0//EN">
> > <html>
> > <head>
> >   <title>Untitled web-page</title>
> > </head>
> > <body>
> > <?php
> > echo ("My name is Judy.");
> > ?>
> > </body>
> > </html>
> > ******************************************
> > 
> > I get a blank page. When I view its source still
> > within IE6, I can see all of the above including the
> > PHP coding which is why I surmise that PHP isn't
> > installed correctly.
> > 
> > Developing the site online isn't practical. I need
> > to make it work locally before uploading. Help!
> > thanks,
> > judy
> > 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux