Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2010
    Thanked 1 Time in 1 Post

    Help setting up IIS with PHP files

    I just installed php with the microsoft web platform installer. When I run a .html file on the localhost it works, but when I run a .php file I get an error. Can anyone help me?
    Attached Thumbnails Attached Thumbnails Help setting up IIS with PHP files-image.jpg  

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Saskatoon, Saskatchewan
    Thanked 2,662 Times in 2,631 Posts
    I've never configured PHP for IIS, but according to this article: http://forums.iis.net/t/1166158.aspx/1 you don't have the CGI installed for IIS. They give instructions for how to install / reinstall the CGI under the windows features.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)


    Posting Permissions

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