httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis Watson" <li...@visionsix.com>
Subject Re: suexec and php cgi
Date Mon, 10 Jun 2002 17:02:15 GMT

----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Monday, June 10, 2002 8:52 AM
Subject: Re: suexec and php cgi


>
> On Sun, 9 Jun 2002, Lewis Watson wrote:
>
> > This is the error I get when trying to run a php cgi. Using any other
cgi
> > type script suexec is happy to fire. I think its something to do with
the
> > php executable being owned by root. Whats the fix for this?
> >
> > [2002-06-09 17:08:58]: error: target uid/gid (522/522) mismatch with
> > directory (522/522) or program (0/0)
> >
>
> <state_the_obvious>
> Change the php executable to uid 522 gid 522.
> </state_the_obvious>
>
> Joshua.

LOL,  Thats where it gets interesting. I need many virtual hosts to run php.
I ran configure and make again on php. This time it seems to be working. I
thought that we still get the use of php's safe mode, but changes to the ini
file have zero effect on the  settings. DO we lose php safe mode when using
it as a cgi?
Thanks...
Lewis



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message