|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21434 Can't SSI include more than one PHP page
Submitted: 2003-01-05 10:43 UTC Modified: 2003-01-05 10:44 UTC
From: jmanning at alisa-jon dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.2 OS: Redhat Linux 8.0
Private report: No CVE-ID: None
 [2003-01-05 10:43 UTC] jmanning at alisa-jon dot net
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.
<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" --> ]
<?php echo "HELLO World, include #1"; ?>

<?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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-05 10:44 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.
 [2003-01-05 10:44 UTC] jmanning at alisa-jon dot net

This is an example page. This belongs to someone else, but it was the me too I found that made me realize this error wasn't just me.
 [2003-01-05 11:23 UTC] jmanning at alisa-jon dot net
It took a while, but I found the dup.

Bug 17868
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 08:01:29 2024 UTC