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
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of askanilkris
askanilkris
Flag of United States of America image

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
Avatar of lapucca
lapucca

ASKER

David you're right.  I modified the php to test out some stuff and it had an extra closing {.  Thank you both.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

You're welcome, glad to help.  I always try to start with the basics.
Microsoft IIS Web Server
Microsoft IIS Web Server

IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.

36K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo