Avatar of lapucca
lapucca asked on

HTTP Error 500.0 - Internal Server Error

Hi, I'm kind of new to IIS 7.  I added a new php file to a new sub-folder I created D:\www\default\hs2\index.php.  
When I type in http://xxx.yyy.com/hs2  I get the error 500.  There is already a similar php file at  D:\www\default\hs2\index.php.   And this web page is displayed when I type in http://xxx.yyy.com/hs

Is there additional configuration or setup I need to do for this?  The old IIS 6 I only need to deploy my asp.net project folders and files but now it doesn't work.  Well, this is php so I don't know if that makes a difference.  I just want to test out.  
Thank you.
Microsoft IIS Web Server

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
askanilkris

have you enabled ISAPI Extensions,ISAPI  Filters and serversideincludes
This can be installed in Windows 7
-- controlpanel-->Uninstall Programs-->Turn windows Feature on or off--> Click on Internet Information services-->Worldwide Webserices-->Application Development features

In windows 2008 you can do this by removing add/remove feature
you can also have a look at this website

http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx
http://php.iis.net/
Thanks
Kris
ASKER
lapucca

David you're right.  I modified the php to test out some stuff and it had an extra closing {.  Thank you both.
Dave Baldwin

You're welcome, glad to help.  I always try to start with the basics.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23