When I ran php as a dso, I never got this header: Content-type:
text/html, but when I switched to PHP CGI (for modules that require it
- I have to do it), I get this on each page. I really want to remove
it.
I have seen this info on the web before, but all I get is that you
need to add a -q somewhere. I really don't know where. I would
really appreciate any help that you folks can offer.
Thanks in Advance.
Andrew
How and where is PHP invoked in your CGI? If you have CGI scripts
written in PHP, there's probably a line like
#!/usr/local/bin/php
at the top. Add " -q" to the end of that line:
#!/usr/local/bin/php -q
That should do the trick. If PHP is invoked in another way, then
you need to figure out where in that other way the php binary
is executed. There may be a configuration option in your
webserver for this.
Arnoud
--
Arnoud Engelfriet, Dutch patent attorney - Speaking only for myself
Patents, copyright and IPR explained for techies: http://www.iusmentis.com/
Thanks for your reply. I actually have the php cgi executable set as
the action in the apache configuration and am not using the #! line at
all.
I am still working on getting the -q option in the apache
configuration, but I can't find any documentation that tells me where
to put that.
Thanks again for your reply. I am going to try to set it up to work
it the way that you suggest.
Andrew