Can't get PHP to work on one site..RSS

1 reply

Last post Oct 14, 2012 02:16 PM by terridonahue

  • Can't get PHP to work on one site..

    Oct 14, 2012 12:03 PM|CriticalError|LINK

    I get can't PHP to work on my website. Basically the same site is hosted on localhost:24 (IIS) and also on Microsoft WebMatrix if I start that up on MS WebMatrix it is hosted on localhost:20181 Now the issue is I have a PHP script which works perfectly fine on localhost:20181 (WebMatrix), but if I run it on localhost:24 (IIS) then I get a 500 Internal Server Error. What's going on? and Second is how can I get more detailed errors?
    THANKS - CE
    My Site | My Blog
  • Re: Can't get PHP to work on one site..

    Oct 14, 2012 02:16 PM|terridonahue|LINK

    If you browse the site locally (on the server itself), you should see the real error. You can also enable Failed Request Tracing to get additional information related to the 500 error. Here is an article that explains how to enable FRT: http://www.iis.net/learn/troubleshoot/using-failed-request-tracing/troubleshooting-failed-requests-using-tracing-in-iis. This is most likely related to PHP not being installed or configured correctly on your IIS instance.

    Terri Donahue
    Microsoft MVP ASPNET/IIS

    Please 'Mark as Answer' if this post helps you.