Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Zlib output compression

What needs to be changed in the conf file?

3:38 pm on Feb 3, 2006 (gmt 0)

New User

10+ Year Member

joined:July 12, 2004
votes: 0

I've added the following information in my .htaccess file

<FilesMatch "\.(php¦html?¦js¦css)$">
php_value zlib.output_compression 2048

But I get 'Internal Server Error' when I try to access any webpage.

I told the administrator, and he said that he didn't know what to change in the conf file. But he could fix it if I tell him. It seems as if the current settings doesn't allow php_value to be set in the htaccess file.

Could anyone please tell me what needs to be changed for this to work?


10:00 pm on Feb 3, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

It might be helpful to check and post the contents of your server error log file when you get this error. It will often tell you specifically what the problem is.

It is likely that php config directives need to be done at the server config level, not in .htaccess.

If this doesn't help (I'm not a php guru by any means), and if you don't get a more useful reply from someone else, you may want to try over in our php forum.