I cannot figure out how to get PHP to work with IIS web server. Currently when I try to load a php page, I get the following message HTTP Error 500.21 - Internal Server Error Handler "PHP52_via_FastCGI" has a bad module "FastCgiModule" in its module list This is what I did, Went to http://www.microsoft.com/web/platform/phponwindows.aspx clicked on install (seemed like it worked). But, I cannot get my php pages to work! Ted
In the System Properties window, select the Advanced tab, and then click Environment Variables. Under System variables, select Path, and then click Edit. Add the path to your PHP installation folder to the end of the Variable value, for example ;C:\PHP . Click OK.
<? php phpinfo(); ?>
Configuring PHP on IISYou can open the “php. ini” file and edit it if you're familiar with configuring PHP. You can also open the PHP Manager in IIS Manager.
You probably don't have the CGI module for IIS installed. Open up the Microsoft Web Installer again. Look in the server section of IIS: CGI and install it.
For completeness, you can check your installed modules by opening up the Internet Information Services Manager. Expand the Sites to your default website (or other site if you have another setup). In the IIS section, look for and open up Modules. If you don't see FastCgiModule, then you'll have to install that via the Web Installer (looks like it's bundled with the regular Cgi Module).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With