On Sat, 2007-01-06 at 21:50 -0500, James Lockie wrote:
> Michael Sullivan wrote:
> > Whenever I request a page on my server that runs PHP (with suPHP/PHP5) I
> > get Internal Server Errors.  From my log files:
> >
> > bullet apache2 # cat suphp_log
> > [Sat Jan 06 15:15:07 2007] [info] Executing
> > "/home/michael/webspace/html/camera/index.php" as UID 1000, GID 100
> > [Sat Jan 06 15:17:05 2007] [info] Executing
> > "/home/michael/webspace/html/camera/index.php" as UID 1000, GID 100
> > bullet apache2 # cat error_log
> > [Sat Jan 06 15:14:46 2007] [notice] suEXEC mechanism enabled
> > (wrapper: /usr/sbin/suexec2)
> > [Sat Jan 06 15:14:53 2007] [notice] Digest: generating secret for digest
> > authentication ...
> > [Sat Jan 06 15:14:53 2007] [notice] Digest: done
> > [Sat Jan 06 15:14:55 2007] [notice] Apache configured -- resuming normal
> > operations
> > [Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] Premature end
> > of script headers: index.php
> > [Sat Jan 06 15:15:08 2007] [error] [client 70.234.122.250] terminate
> > called after throwing an instance of 'suPHP::SystemException'
> > [Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] Premature end
> > of script headers: index.php
> > [Sat Jan 06 15:17:05 2007] [error] [client 70.234.122.250] terminate
> > called after throwing an instance of 'suPHP::SystemException'
> > bullet apache2 # 
> >
> >
> > This annoys me because there is no other information.  Has anyone dealt
> > with this before?
> >
> >
> >   
> Check your pages: http://validator.w3.org/
> 
> Can you run the PHP from the command line?
> 

Yes.  I can run the the index.php script on the command line.  It spits
out text, as it should.  What was that saying about "Premature end of
script headers"?  If I remove the "-D SUPHP" bit
from /etc/conf.d/apache2 and restart apache2, it works just fine.  I
need suPHP to work for another script though.  With suPHP enabled, not
even Squirrelmail works.  It used to.  I don't know what happened...

-- 
[email protected] mailing list

Reply via email to