| 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.
| |
| Polaris 2004-09-26, 9:06 am |
| 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.
>
>
>
| |
| Mr. Foo 2004-09-26, 3:55 pm |
|
"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.
| |
|
|
"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 :-)
| |
| Manfred Leikermoser 2004-09-27, 8:55 am |
| 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.
>
>
>
|
|
|
|