Home > Archive > PHP DB > August 2004 > Installing PHP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Judy Picard 2004-08-30, 3:56 pm |
| 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!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
| |
| Jasper Howard 2004-08-30, 8:55 pm |
| kinda sounds like you haven't updated your apache (or whatever else you
might be using) config file, I inserted this bit of code at the top of my
apache config file:
ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php4/php.exe"
if you copy this, make sure you edit file path's to look like yours
--
-------------------------------------------------------------->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--------------------------------------------------------------
"Judy Picard" <judypicard@yahoo.com> wrote in message
news:20040830155748.63008.qmail@web53704.mail.yahoo.com...
> 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!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
|
|
|
|
|