« Previous Next »

Thread: PHP in virtual directory

Last post 10-28-2009 7:16 PM by don.raman. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 10-28-2009, 5:56 PM

    PHP in virtual directory

    Hi all,

    I finally managed to get PHP running under FastCGI. I had to do a manual install as the Platform Installer failed. PHP works fine in wwwroot but doesn't work in any virtual directory. Any ideas?

    Thank you in advance!

  • 10-28-2009, 6:06 PM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: PHP in virtual directory

    What is the error you are getting?

    Follow me on twitter at http://twitter.com/kjsingla
  • 10-28-2009, 6:15 PM In reply to

    Re: PHP in virtual directory

    500

  • 10-28-2009, 6:38 PM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: PHP in virtual directory

    Can you give more details like the error message you get with 500? There are plenty of reasons which can cause your server to return 500. So just the status code is not helpful. If you send a request from local machine, IIS7 will return a detailed error message. Can you paste that?

    Follow me on twitter at http://twitter.com/kjsingla
  • 10-28-2009, 6:44 PM In reply to

    Re: PHP in virtual directory

    All I get is a 500 Internal Server Error. Path is: http://localhost/opp/test.php

  • 10-28-2009, 6:47 PM In reply to

    Re: PHP in virtual directory

    ...I am on Vista SP2...

  • 10-28-2009, 7:16 PM In reply to

    Re: PHP in virtual directory

    You must be having 'Show HTTP friendly errors' turned on in the browser. Please disable it and see what message IIS is giving. For IE, you can go to Tools->Internet Options, then go to Advanced tab and uncheck 'Show HTTP friendly error' check box.

    Since you are still using localhost and default port 80 (I am guessing that looking at your URL), I am assuming that you changed the physical path of your default web site to something else using 'inetmgr'. I hope IIS has got permission to run the content.

    Please turn off browser friendly error and let us know what are you seeing in the detailed error page?

    Thanks,

    Don.

Page 1 of 1 (7 items)
Microsoft Communities