Jump to content

[SOLVED] scriptProcessor could not be found in <fastCGI> ...


Recommended Posts

[sOLVED]

 

Hi there,

 

In a scramble to try to fix another issue I'm having, I uninstalled PHP and re-installed it. I've followed a variety of websites' instructions on how to get IIS7 and PHP/FastCGI working, but since attempting the re-install, my once working server has thrown this error at me.

 

HTTP Error 500.0 - Internal Server Error
<handler> scriptProcessor could not be found in <fastCGI> application configuration

 

I've looked all over trying to fix this. Deleted all my php-related files, removed the PATH variable, but when it came to removing PHP from Software in regedit, it wasn't there, so I did everything short of that. my installation currently has PHP5.3.6 NTS installed using the msi installer, I've re-started my server multiple times, and I have:

 

PHP_via_FastCGI          *.php          State:Enabled          Path Type: File or Folder          Handler: FastCgiModule          Entry Type: Local

 

The exe points to C:\PHP\php-cgi.exe

 

So all seems fine, but I'm still getting the error.

 

Any ideas? The error seems pretty self-explanatory "scriptProcessor could not be found in <fastCGI> application configuration" except that it is all there... even inetpub/web.config looks like this:

 

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <handlers>
            <remove name="PHP_via_FastCGI" />
            <remove name="PHP via FastCGI" />
            <add name="PHP via FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\PHP5\php-cgi.exe" resourceType="Unspecified" />
        </handlers>
    </system.webServer>
</configuration>

 

Thanks!

 

Kevin

 

 

EDIT:

 

In the error, it references "PHP via FastCGI" which was what I used to call the module mapping. However as it stands right now, the only *php mapping I have is called "PHP_via_FastCGI" so maybe it's reading some old config? How could that be fixed?

 

 

 

Shoot, sorry guys... Seems that at the server level I had made the handler mapping change, but on the Default Site bit further down the tree, it was different. I deleted the mapping and put it in as PHP_via_FastCGI and it worked. Sorry for this thread. Delete if you can.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.