From: makull at freemail dot nl
Operating system: Windows 2000
PHP version: 4.3.3
PHP Bug Type: IIS related
Bug description: Error including a PHP file from within an SSI

If you use any PHP version above 4.2.3, including a PHP file from within a
SSI file using '#exec cgi' or '#include virtual' will fail and either
result in the raw source code of the PHP script or in machine code.

If you go back to PHP 4.2.3 using '#exec cgi' to include a PHP file works

This is on a Windows 2000 server using IIS 5 and all the latest service
packs and patches.

Reproduce code:
Lines from the SSI file (.shtml) :

<!--#exec cgi="test.php"-->
<!--#virtual include="test.php"-->

Expected result:
Expected result : The output of the PHP script in HTML (the output is
correct when you run it directly).

Actual result:
Actual result : Either the source code from the PHP script (virtual
include) or machine code (exec cgi).

Edit bug report at [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]