SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2003
    Location
    Denmark
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    some problems with installation

    Hey guys,

    I got some problems installing PHP on the system. I bought the Kevin's book "PHP MySQL Database ..." and tried to follow the steps in the book. However, having done the very first php script i couldn't see the date on the page. Obviously, there's something wrong done during installation. But, I have tried to reinstall PHP for 3 times and it is still the same.

    I am using IIS, PHP, MySQL. My system seems to recognize MySQL availability and PHP seems to be functioning as well.

    Please, can you tell me what my problem might be?

    thanks a lot in advance.

  2. #2
    PHP manual bot bronze trophy Gaheris's Avatar
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about you show us the script you use?
    So that we can be sure that it's not a scripting error.

  3. #3
    SitePoint Member
    Join Date
    Apr 2003
    Location
    Denmark
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gaheris
    How about you show us the script you use?
    So that we can be sure that it's not a scripting error.
    It's the simplest piece of code just to make a date to be shown on the page and there's only one short php statement


    <html>
    <head>
    <title>Today's Date</title>
    </head>
    <body>
    <p>Today's Date (according to this Web server) is
    <?php
    echo( date('l, F dS Y.') );
    ?></p>
    </body>
    </html>

    I guess, there's no any complexity to get an error. I think i did something wrong during installation. But as I said I have tried for several times to install and it's still the same.

    regards


Bookmarks

Posting Permissions

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