Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS 6 FastCGI and PHP 5.3.6

Status
Not open for further replies.

Borvik

Programmer
Jan 2, 2002
1,392
US
Actually I'm trying to run PHP 5.2.6 and 5.3.6 simultaneously.

PHP 5.2.6 is running properly as an ISAPI module.
PHP 5.3 dropped support for ISAPI, so I am attempting to set it up as FastCGI.

Right now I'm just trying to configure the extension .php5 to run through PHP 5.3.6.

Here is what I have so far:
PHP 5.2.6 is located at C:\PHP
PHP 5.3.6 is located at C:\PHP536 nts version.

fcgiext.ini
Code:
[Types]
php5=PHP

[PHP]
ExePath=c:\PHP536\php-cgi.exe
InstanceMaxRequests=10000
EnvironmentVars=PHPRC:C:\PHP536\

Application Mapping for single testing website in IIS manager has:
.php -> C:\PHP\php5isapi.dll
.php5 -> C:\WINDOWS\system32\inetsrv\fcgiext.dll

In the website direction I have two test files: test.php and test.php5. The contents of both are:
Code:
<?php phpinfo();

When I navigate to the phpinfo page comes up fine. But when I try test.php5, I get the following:
Code:
FastCGI Error

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

The FastCGI process exited unexpectedly
Error Number: -2 (0xfffffffe).
Error Description: Unknown Error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)

Anyone have any ideas how to get 5.3.6 working here?
 
Of course, I figure it out now.

I made sure to enable error logging so I can see it in the event viewer.

I had copied the php.ini from my 5.2 directory to keep most of my settings the same.

I found some modules that were trying to load that were not there in the new version, as well as a bad/missing browscap.ini reference.

Once I commented those out, it started working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top