From: [EMAIL PROTECTED] Operating system: Redhat Linux 8.0 PHP version: 4.2.2 PHP Bug Type: Apache2 related Bug description: Can't SSI include more than one PHP page
This may be a apache2 SSI bug, I'll report something to them too. Sample page (borrowed from a similar error I found online) Standard SHTML. <html><head><title>Test</title></head> <body> <center> <p>Below, include #1 (hello.php) should appear:</p> [ <!--#include="hello.php" --> ] <p><hr></p><p>Below, include #2 (hello2.php) should appear :</p> [ <!--#include="hello2.php" --> ] </body></html> hello.php <?php echo "HELLO World, include #1"; ?> hello2.php <?php echo "HELLO World, include #2"; ?> Only the first one runs as PHP. The second includes the source of the page into the html document. -- Edit bug report at http://bugs.php.net/?id=21434&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21434&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21434&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21434&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21434&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21434&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21434&r=support Expected behavior: http://bugs.php.net/fix.php?id=21434&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21434&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21434&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21434&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21434&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21434&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21434&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21434&r=gnused