web stats OS X Client Server » Uncategorized



Archive for the 'Uncategorized' Category

Gzip Error: ob_gzhandler conflicts with zlib output compression

Wednesday, July 4th, 2007

PHP Notice reporting
I started getting this error when I enabled gzip compression for my server:

[Wed Jul 4 23:17:05 2007] [error] PHP Warning: ob_start() [ref.outcontrol]: output handler ‘ob_gzhandler’ conflicts with ‘zlib output compression’ in /script.php on line 419

I fixed it by adding this to my .htaccess file:

php_flag zlib.output_compression Off

I think the reason it was happing was that one of my scripts was trying to turn on compression when it was already on..

Another option would be to open the script causing the problem and edit out the lines that call compression.

Welcome to OSXClientServer.com

Wednesday, November 8th, 2006

We will provide articles and tips about OS X Web Servers, PHP, MYSQL and other OS X webmaster information. Whats with the name? We are running OS X as a server but not running OS X server. This site is about running a web server from the standard OS X Client version that comes with every new mac. Luckily for us all versions of OS X come with a built in very powerful Apache web server pre installed. Stay tuned for complete guides on how to set up your own webserver.
OS X G5 Web Server