* [gentoo-user] OT - suPHP weirdness
@ 2007-01-06 21:19 Michael Sullivan
2007-01-07 2:50 ` James Lockie
0 siblings, 1 reply; 3+ messages in thread
From: Michael Sullivan @ 2007-01-06 21:19 UTC (permalink / raw
To: gentoo-user
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?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] OT - suPHP weirdness
2007-01-06 21:19 [gentoo-user] OT - suPHP weirdness Michael Sullivan
@ 2007-01-07 2:50 ` James Lockie
2007-01-07 3:20 ` Michael Sullivan
0 siblings, 1 reply; 3+ messages in thread
From: James Lockie @ 2007-01-07 2:50 UTC (permalink / raw
To: gentoo-user
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?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] OT - suPHP weirdness
2007-01-07 2:50 ` James Lockie
@ 2007-01-07 3:20 ` Michael Sullivan
0 siblings, 0 replies; 3+ messages in thread
From: Michael Sullivan @ 2007-01-07 3:20 UTC (permalink / raw
To: gentoo-user
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...
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-07 3:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-06 21:19 [gentoo-user] OT - suPHP weirdness Michael Sullivan
2007-01-07 2:50 ` James Lockie
2007-01-07 3:20 ` Michael Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox