Code Comments
Programming Forum and web based access to our favorite programming groups.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.
Post Follow-up to this messageJust 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. > > >
Post Follow-up to this message"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.
Post Follow-up to this message"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 :-)
Post Follow-up to this messageHi 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. > > >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.