apache2 with mod_php

Collins Richey erichey2
Mon May 17 11:59:50 PDT 2004


I'm getting frazzled after two days of googling and rtfm.  I can't get
even simple php programs like the following to work.  Always terminates
with "Premature end of script headers".

<html>
<head>
<title>A sample</title>
</head>
<body>
<?php echo 'The first line'; ?>
</body>
</html>

Sigh, Apache is really a dumb$#@! program.  Even with LogLevel debug,
no meaningful help is given.  Only " I don't like your setup, but I
won't tell you why."

I get the same results from either the global cgi-bin directory or under
my cgi-bin directory, but I can run cgi programs from either.

Any hints would be appreciated.


-- 
Collins Richey - Denver area
gentoo testing 2.6.3-rc2 nptl udev



More information about the Linux-users mailing list