Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Installing PHP
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

Report this thread to moderator Post Follow-up to this message
Old Post
Judy Picard
08-30-04 08:56 PM


Re: Installing PHP
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

Report this thread to moderator Post Follow-up to this message
Old Post
Jasper Howard
08-31-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:02 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.