note 34435 added to install.apache2
| From: | php-general at lists dot php dot net | Date: | Sun, 27 Jul 2003 04:56:06 +0000 |
| Subject: | note 34435 added to install.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52735@lists.php.net to get a copy of this message | ||
If anyone is interested, there is an excellent tutorial site on setting up PHP with Apache2, zlib,
and ssl for win32/linux at:
http://www.devside.net
One good point they make:
For best performance, turn PHP's output buffering on, turn off php's output compression,
and let Apache's mod_deflate handle it. Most installations I have seen have both PHP's and
Apache's zlib on?!
Another point:
If you are correcting some of the problems that older browsers have with receiving compressed pages,
as in the earlier versions of Netscape, you need to add to the 'Vary' header
"User-Agent"; due to any proxies that would change the user agent string of the client.
But with Apache2, you have to use 'SetOutputFilter DEFLATE' rather than the cleaner
'AddOutputFilterByType DEFLATE text/html text/plain text/xml'. See the site on why.
----
Manual Page -- http://www.php.net/manual/en/install.apache2.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34435
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34435&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34435&report=yes