I just installed PHP5 to run stand-alone scripts from the command line under Redhat 7.
I compiled PHP5 with:
--enable-sockets
--enable-cli
--disable-libxml (mostly because I don't have the libs)
--with-mysql=blah/blah
It compiled fine and works fine except for one thing.
At the beginning of all script outputs, I'm geting the "Content-type:" header. I read the docs and altered the PHP.INI file line containing "default_mimetype" and I still get the output line (although the type itself is blank.)
Anyone have any idea how to completely supress this output? Again, this is non-apache stuff --- straight vanilla command line scripting. I do not have this problem when running the same scripts under PHP4.
Thanks in advance.