[pmwiki-users] more on fedora 5 / pmwikiserv problems
Lindsay Todd
toddr at rpi.edu
Thu Oct 19 17:41:56 CDT 2006
I reported the other day the problems I have had running pmwikiserv on
my Fedora Core 5 system (PHP 5.1.6). I am still not a PHP hacker, but
I've delved a bit further into the problem, and maybe someone can give
me a bit of help.
The symptom was when I opened http://localhost/wiki, I saw what looked
like the html file with the top several lines chopped out.
Adding some echo statements to ProcessResponse, I discovered that the
regexp was splitting the response at a blank line. This is supposed to
be the division between the header and the body -- but there was no header!
If I type: php pmwiki.php and pipe through more, I see that HTML file,
but no header. If I do the same on a RHEL-4 system, I see the
Content-type and X-Powered-By headers, followed by a blank line,
followed by the HTML body.
Indeed, if I start up php on my Fedora Core 5 system, Control-d to exit,
there is no output. Do the same on the RHEL-4 system, and headers
appear, followed by the blank line.
OK, what is a portable way to make sure PHP displays these headers?
/Lindsay
--
R. Lindsay Todd email: toddr at rpi.edu
Senior Systems Programmer phone: 518-276-2605
Rensselaer Polytechnic Institute fax: 518-276-2809
Troy, NY 12180-3590 WWW: http://www.rpi.edu/~toddr
The views, opinions, and judgments expressed in this message are
solely those of the author. The message contents have not been
reviewed or approved by Rensselaer.
More information about the pmwiki-users
mailing list