[EMAIL PROTECTED] said:
> This is a PHP problem, not a mathopd problem.
> I don't know enough about php to do anything about it.
> The "Status: 0" header does not make sense at all though.
> 
> Sorry I can't be more helpful.

I just spent a couple of hours tracking down this problem, since I'm
using Mathopd here and needed to install a PHP application. It turns out
that this happens when PHP decides to display a "fatal error" from the
interpreter. For some reason it outputs a "Status: 0" header followed by
Content-Type and then some HTML text instead of using it's normal code
path for header output.

In my case it was complaining that the php4 binary had been compiled
with force-cgi-redirect enabled. Putting "cgi.force_redirect = 0" in
php.ini made it work.

Probably worth filing a bug with the PHP people if it hasn't already
been fixed (I'm using PHP 4.3.3 from Debian testing).

-mato

Reply via email to