Previous Next

Thread: PHP5 + IIS6

Last post 05-31-2008 12:08 PM by brashquido. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 05-30-2008, 10:45 AM

    • Ilya_Guy
    • Not Ranked
    • Joined on 05-30-2008, 2:40 PM
    • Posts 4
    • Ilya_Guy

    PHP5 + IIS6

     Hello.

    I have a following problem:

    I configure IIS6 @ Win 2k3sp2 to use PHP5 in ISAPI mode.

    But I can see only index page with http://host:8085/ address.

    If I write same address as http://host:8085/index.php I receive 404 Page not found.

    This IIS support several virtual hosts and I need PHP only in one of them.
     

  • 05-30-2008, 10:58 AM In reply to

    Re: PHP5 + IIS6

    Check what file is being served when you don't specify (default document), it might not be what you think.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 05-30-2008, 11:03 AM In reply to

    • Ilya_Guy
    • Not Ranked
    • Joined on 05-30-2008, 2:40 PM
    • Posts 4
    • Ilya_Guy

    Re: PHP5 + IIS6

    Default file is index.php

     

  • 05-30-2008, 1:06 PM In reply to

    • brashquido
    • Top 25 Contributor
    • Joined on 05-21-2006, 8:31 PM
    • Australia
    • Posts 153
    • IIS MVPs
    • brashquido

    Re: PHP5 + IIS6

     Are there any other file names listed in your default document list? What web application are you using?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
  • 05-30-2008, 3:48 PM In reply to

    • Ilya_Guy
    • Not Ranked
    • Joined on 05-30-2008, 2:40 PM
    • Posts 4
    • Ilya_Guy

    Re: PHP5 + IIS6

    I've removed all default documents exclude 'index.php'.

    index.php contains only call to phpinfo();

     

  • 05-30-2008, 3:53 PM In reply to

    • Ilya_Guy
    • Not Ranked
    • Joined on 05-30-2008, 2:40 PM
    • Posts 4
    • Ilya_Guy

    Re: PHP5 + IIS6

    Event log is empty too. 
     

  • 05-31-2008, 12:08 PM In reply to

    • brashquido
    • Top 25 Contributor
    • Joined on 05-21-2006, 8:31 PM
    • Australia
    • Posts 153
    • IIS MVPs
    • brashquido

    Re: PHP5 + IIS6

    That is a bit outside the square. I can't think what might be causing that. I have seen weirdness like this a handful of time though. What happens if you create another website using a different name and point it to the same index.php file. Any different?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (7 items)
Page view counter