Problem getting started

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ivory Tinkler

    Problem getting started

    Hi - I was just wondering if anyone can just help me get started with
    PHP (with My SQL).

    I've installed these on my home PC (together with Apache web server as
    a local host), but when I navigate to the "test.php" file in my
    browser, I just get the file opening in Notepad. I'm sure it was
    appearing in the browser correctly last week when I tried.

    Any ideas? I'm pretty sure I've configured the Apache httpd.conf file
    correctly. My SQL starts on StartUp (showing as a green light in the
    system tray) so that can't be the problem - and http://localhost is
    displaying the Apache test page ok in the browser.

    Thanks

    Tim
  • Mark Kuiphuis

    #2
    Re: Problem getting started

    Assuming you have setup apache allright to cooperate with php I assume
    you try to retrieve the file via file:// protocol instead of http://
    protocol. (make sure you have the php file in the documentroot of the
    webserver).

    Mark

    Ivory Tinkler wrote:
    [color=blue]
    > Hi - I was just wondering if anyone can just help me get started with
    > PHP (with My SQL).
    >
    > I've installed these on my home PC (together with Apache web server as
    > a local host), but when I navigate to the "test.php" file in my
    > browser, I just get the file opening in Notepad. I'm sure it was
    > appearing in the browser correctly last week when I tried.
    >
    > Any ideas? I'm pretty sure I've configured the Apache httpd.conf file
    > correctly. My SQL starts on StartUp (showing as a green light in the
    > system tray) so that can't be the problem - and http://localhost is
    > displaying the Apache test page ok in the browser.
    >
    > Thanks
    >
    > Tim[/color]

    Comment

    Working...