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

Php page does not load after installing PHPTriad?
Hi there,

I just installed PHPTriad all went good. I started apache and MySql
services.

If i do http://127.0.0.1. (same as: C:\apache\htdocs) in by browser i get
the welcome page of PHPTriad so this looks good.

Now i want to open a php file so i do this: C:\apache\htdocs\firstphp.php

What happens next: Homesite opens and shows me the code:

<?php
echo "Hello World!";
?>
and
<?php
print ("Hello World!");
?>

If i want to open this in IE i also just see the code, does anyone know what
i did wrong and why the php file is not loading properly? What did i miss?
Thanks for responding.
Jack.




Report this thread to moderator Post Follow-up to this message
Old Post
Jack
09-26-04 02:06 PM


Re: Php page does not load after installing PHPTriad?
Just a guess, did you install php itself ?

"Jack" <no@mail.com> schreef in bericht
news:cj61fj$f05$1@news3.zwoll1.ov.home.nl...
> Hi there,
>
> I just installed PHPTriad all went good. I started apache and MySql
> services.
>
> If i do http://127.0.0.1. (same as: C:\apache\htdocs) in by browser i get
> the welcome page of PHPTriad so this looks good.
>
> Now i want to open a php file so i do this: C:\apache\htdocs\firstphp.php
>
> What happens next: Homesite opens and shows me the code:
>
> <?php
> echo "Hello World!";
> ?>
> and
> <?php
> print ("Hello World!");
> ?>
>
> If i want to open this in IE i also just see the code, does anyone know
> what
> i did wrong and why the php file is not loading properly? What did i miss?
> Thanks for responding.
> Jack.
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Polaris
09-26-04 02:06 PM


Re: Php page does not load after installing PHPTriad?
"Polaris" <ask4polaris@hotmail.com> wrote in message
news:4156a687$0$44077$5fc3050@dreader2.news.tiscali.nl...
> Just a guess, did you install php itself ?
>
> "Jack" <no@mail.com> schreef in bericht
> news:cj61fj$f05$1@news3.zwoll1.ov.home.nl... 
>
>





Type http://127.0.0.1/firstphp.php not C:\apache\htdocs\firstphp.php
make sure apache is on with phptraid once in awhile I need to restart apache
from some reason to get it running again.



Report this thread to moderator Post Follow-up to this message
Old Post
Mr. Foo
09-26-04 08:55 PM


Re: Php page does not load after installing PHPTriad?
"Jack" <no@mail.com> wrote in message
news:cj61fj$f05$1@news3.zwoll1.ov.home.nl...
> Hi there,
>
> I just installed PHPTriad all went good. I started apache and MySql
> services.
>
> If i do http://127.0.0.1. (same as: C:\apache\htdocs) in by browser i get
> the welcome page of PHPTriad so this looks good.
>
> Now i want to open a php file so i do this: C:\apache\htdocs\firstphp.php
>
> What happens next: Homesite opens and shows me the code:
>
> <?php
> echo "Hello World!";
> ?>
> and
> <?php
> print ("Hello World!");
> ?>
>
> If i want to open this in IE i also just see the code, does anyone know
what
> i did wrong and why the php file is not loading properly? What did i miss?
> Thanks for responding.
> Jack.
>



Thanks all thats it, i got it working now :-)



Report this thread to moderator Post Follow-up to this message
Old Post
Jack
09-27-04 01:55 PM


Re: Php page does not load after installing PHPTriad?
Hi Jack,

try this:

http://localhost/firstphp.php
with apache running!

greets
Manfred



"Jack" <no@mail.com> wrote in message
news:cj61fj$f05$1@news3.zwoll1.ov.home.nl...
> Hi there,
>
> I just installed PHPTriad all went good. I started apache and MySql
> services.
>
> If i do http://127.0.0.1. (same as: C:\apache\htdocs) in by browser i get
> the welcome page of PHPTriad so this looks good.
>
> Now i want to open a php file so i do this: C:\apache\htdocs\firstphp.php
>
> What happens next: Homesite opens and shows me the code:
>
> <?php
> echo "Hello World!";
> ?>
> and
> <?php
> print ("Hello World!");
> ?>
>
> If i want to open this in IE i also just see the code, does anyone know
> what
> i did wrong and why the php file is not loading properly? What did i miss?
> Thanks for responding.
> Jack.
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Manfred Leikermoser
09-27-04 01:55 PM


Sponsored Links




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

PHP Language 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:24 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.