Default mode -- Output buffering ??

From: Date: Thu, 17 Jul 2003 15:01:32 +0000
Subject: Default mode -- Output buffering ??
Groups: php.general 
Request: Send a blank email to php-general+get-155629@lists.php.net to get a copy of this message
I recently upgraded from RedHat 9 supplied 4.1.2 to from_the_net 4.3.2. I am running the command line version (#!/usr/bin/php) as a .cgi rather than directly in apache as a module (with a .php suffix). What I find is that the first line after #!/usr/bin/php needs to be: Content-type: text/html This used to be generated automatically, and still is in apache module version. The whole thing acts differently, phpinfo() generates text output and not HTML. It seems as if the /usr/bin/php has decided that it is not generating web output any more -- for some reason. Is there a build/configure option that I can set to get the original behaviour or a command line switch to specify 'html on' or something ? I have looked but cannot find anything. Thanks in advance. -- Alain Williams #include <std_disclaimer.h>

« previous php.general (#155629) next »