php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18597 PHP installed as ISAPI causes ASP pages to fail
Submitted: 2002-07-26 11:51 UTC Modified: 2002-08-01 19:12 UTC
From: paul at freedomweb dot net Assigned:
Status: Closed Package: IIS related
PHP Version: 4.2.2 OS: Windows 2000 Advanced Server
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paul at freedomweb dot net
New email:
PHP Version: OS:

 

 [2002-07-26 11:51 UTC] paul at freedomweb dot net
Running IIS5 on Windows 2000 Advanced Server.

When installed PHP as CGI using php.exe, HTML, PHP, and ASP pages all work correctly.

When installed PHP as ISAPI filter, HTML and PHP work but ASP pages are not served. Error in event log is "the application called an interface that was marshalled to a different thread".

Research on this error points to an issue with ISAPI filter not written correctly for multi-threaded environment. In particular, it was suggested CoInitialize() and CoUninitialized() be included in the ISAPI filter, however this is beyond my technical capability.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-26 22:27 UTC] rverlander@php.net
Errmm Have you tried the latest CVS snap?
 [2002-07-29 11:31 UTC] jtate@php.net
Make sure you don't have short tags enabled.

Edit your php.ini file and change short_open_tag to Off.

You may have to edit all your php scripts to use <?PHP instead of <? or <% or whatever you're using.

Try that and report on your situation.
 [2002-08-01 17:11 UTC] paul at freedomweb dot net
Changing short_open_tag to off and taking all the short tags out of my php scripts (no small task) fixed this problem! Thanks.

I am still using the 4.2.2 release version of isapi php, not any of the beta stuff. 

ASP and PHP now coexist happily on my Windows 2000 IIS5 system! Not only that, I have Horde and Imp running with MSSQL server without a hitch, and the isapi php makes it nice and fast.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 18:00:02 2026 UTC