Showing posts with label iis. Show all posts
Showing posts with label iis. Show all posts

Thursday, May 20, 2010

Error Number: 1413 (0x80070585)

PROBLEM: Immediately after installing Zend server, upon testing you are faced with:


FastCGI Error

The FastCGI Handler was unable to process the request.
Error Details:

Could not find entry for "php" on site 1 in [Types] section.
Error Number: 1413 (0x80070585).
Error Description: Invalid index.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)


SOLUTION: Add the following to the end of C:\WINDOWS\system32\inetsrv\fcgiext.ini


[Types]
php=PHP

[PHP]
ExePath=C:\Program Files\Zend\ZendServer\bin\php-cgi.exe

EnvironmentVars=PHP_FCGI_MAX_REQUESTS:1000
IdleTimeout=1500
ActivityTimeout=3000
RequestTimeout=1500


Friday, December 07, 2007

SSL in development environment (IIS)

By far the simplest way to setup an SSL certificate for your testing and/or development environment. Works for IIS5.0, 5.1(XP) and 6.0.

Step 1. Download Internet Information Services (IIS) 6.0 Resource Kit Tools

Step 2. When running the installation package, do a custom setup and select only the "selfSSL" component.

Step 3. Start -> All Programs -> IIS Resources -> SelfSSL -> SelfSSL

Step 4. At the command prompt, copy and paste the following:

IMPORTANT: Make sure the replace [SERVER_NAME] with your real server(machine) name.

Done. Let me just say that I've actually seen people ask how to accomplish this task, only to be told, "It's a waste of time. Why would you ever need to do such a thing?!?! Just blah blah blah..."


Well first off, I don't know about you, but I like my dev environment to resemble, as closely as possible, my production environment. Second, this step is ABSOLUTELY CRITICAL when writing, testing and deploying ANY process that requires SSL. If you think it isn't, come back here when you finally figure it out and apologize.