PHP + Mod_layout corruption

"Alex Cohen" <[email protected]> Thu, 16 Sep 2004 17:08:36 +1000
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
I am currently running mod_layout 4.0.1a on Apache 2.0.50 with php 5.0.1 and am seeing corrupted/repetitive output for a lot of php scripts. An example is this one:

----
<?php
// prints e.g. 'Current PHP version: 4.1.1'
echo 'Current PHP version: ' . phpversion() . '<br>\n' ;
?>
----

Which produces the output below:

----
Current PHP version: 5.0.1
\nCurrent PHP version: 5.0.1
\n rrent PHP version: 5.0.1
\nCurrent PHP version: 5.0.1
\n rrent PHP version: 5.0.1
\n
----

The relevant lines in httpd.conf are:

LayoutComment Off
LayoutReplaceTags On
LayoutIgnoreTag <frame>
LayoutIgnoreTag <frameset>
LayoutNotes On
AddOutputFilter LAYOUT html htm php cgi
LayoutPostAsync Off
Layout </head> /ltu_assets/html/css.php replace
Layout <body*> /ltu_assets/html/nav_top.php replace
Layout </body> /ltu_assets/html/nav_bottom.php replace

Does anyone have any idea where/how this corruption might be coming from?
	
	--- Alex

-----------------------------------------
Alexander Cohen
Systems Officer - Web/Unix
La Trobe University - ITS
[email protected]
M: 0419-595-817
W: (03) 9479-3444
-----------------------------------------