www.webdeveloper.com
Results 1 to 5 of 5

Thread: Very First step with PHP

  1. #1
    Join Date
    Nov 2005
    Posts
    47

    Very First step with PHP

    I want to learn PHP on my own machine, I downloaded the windows version to replace IIS and just test the
    Code:
    <?PHP
    phpinfo();
    ?>
    and to my own surprise it is working,.... oohhh what a wonderful feeling.

    My question is why my default.php or index.php page doesn't appear by default on the browser at http://localhost but it is OK if type http://localhost/default.php

    thank you for your help

  2. #2
    Join Date
    Jan 2005
    Location
    Alicante (Spain)
    Posts
    7,739
    If you "replaced" IIS what are you using as a server?

    On Apache there is a line in httpd.conf to specify what the default file is named.
    Code:
    DirectoryIndex index.php index.php3 index.html index.html.var index.htm

  3. #3
    Join Date
    Nov 2005
    Posts
    47
    Now I know Replace is wrong word, I think I meant PHP for windows and I have IIS on my machine something like that....or is it?
    any way, thank you Bokeh. is there something similar to directoryIndex in IIS

  4. #4
    Join Date
    Jan 2005
    Location
    Alicante (Spain)
    Posts
    7,739

  5. #5
    Join Date
    Nov 2005
    Posts
    47
    I will have look at the apache server'
    Thanks again for your time

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles