Php page does not load after installing PHPTriad?

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default 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 [url]http://127.0.0.1[/url]. (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.



    Jack Guest

  2. Similar Questions and Discussions

    1. Page Load vs Page PreRender
      We have a custom control that is a dropdown list extended. We have put code in the SelectedIndexChanged Event to run a query against a database to...
    2. Getting data from a usercontrol before containing page ends its page load
      How do I load a user control in a web form first, so that the web form's page_load acts according to events on the user control? In my code...
    3. Load HTML page within my Flash web page
      Sorry if this has been asked before. New to the Forum. Is it possible to load an html page ( "eBay" for example ) in my flash web page. Still have...
    4. Page won't load
      VERY strange issue... has anyone had this happen?!! I did a new site in Flash2004 using Slides and the Remoting: http://www.Flyerking.com On...
    5. PHPTriad Installation
      Hi Does anyone know if an installation of PHPTriad (v2.1.1) can be installed automatically using some kind of script or command parameters? ...
  3. #2

    Default 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 [url]http://127.0.0.1[/url]. (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 Guest

  4. #3

    Default Re: Php page does not load after installing PHPTriad?


    "Polaris" <ask4polaris@hotmail.com> wrote in message
    news:4156a687$0$44077$5fc3050@dreader2.news.tiscal i.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...
    >> Hi there,
    >>
    >> I just installed PHPTriad all went good. I started Apache and MySql
    >> services.
    >>
    >> If i do [url]http://127.0.0.1[/url]. (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.
    >>
    >>
    >>
    >
    >




    Type [url]http://127.0.0.1/firstphp.php[/url] 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.


    Mr. Foo Guest

  5. #4

    Default 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 [url]http://127.0.0.1[/url]. (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 :-)


    Jack Guest

  6. #5

    Default Re: Php page does not load after installing PHPTriad?

    Hi Jack,

    try this:

    [url]http://localhost/firstphp.php[/url]
    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 [url]http://127.0.0.1[/url]. (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.
    >
    >
    >

    Manfred Leikermoser Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139