Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17773

SuPHP with mod_deflate - Causing extra characters at the end of PHP files

$
0
0

Has anyone ever seen this before? If I have both mod_deflate and SuPHP enabled at the same time PHP files will output extra characters at the end of the file. Even if there is no actual PHP being processed.

If I have a file called test.php and the content is just "test" I'll get the following:

test ‹ 

Examining closer in notepad++ shows this:

Screenshot

It's obviously an issue with the way mod_deflate is compressing content served through the SuPHP CGI handler...but I have no idea what or how to fix it. Does anybody have any ideas?

submitted by Mazo
[link][1 comment]

Viewing all articles
Browse latest Browse all 17773

Trending Articles