Did you stop and start Apache? (Do not use "restart" or "graceful")
-- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | On Mon, Aug 20, 2007 at 04:00:28PM +0100, Jason Bhalla-Gaunt wrote: > Hi all, just tried to install suPHP on a server, install went quite > flawlessly, have enabled suPHP_Engine in the VirtualHost directive, tried > to call a php script that just did a system call to "whoami" and it still > claims its running as apache, not the user that its set to in the directive > or the owner of the php script (both are ltp:psaserv). > > I compiled it with ./configure --with-setid-mode=paranoid (but I've tried > owner and force, still the same problem). > > I'm using Apache 2.0.52 under Centos 4, anyone able to advise? > > > I have the following lines in the respective configs in their respective > positions : > > > /etc/httpd/conf/httpd.conf: > - > LoadModule suphp_module modules/mod_suphp.so (with the other LoadModule's) > AddHandler application/x-httpd-php .php (at the end) > AddHandler application/x-httpd-php-source .phps > > > website vhost: > - > <VirtualHost SERVERIP:80> > ServerName domain.co.uk:80 > ServerAlias www.domain.co.uk > UseCanonicalName Off > SuexecUserGroup ltp psaserv > suPHP_Engine on > suPHP_UserGroup ltp psaserv > blahblahblah > </VirtualHost> > > ___________________ > > Jason Bhalla-Gaunt > +44 (0)121 233 4838 (Direct Dial) > +44 (0)121 200 2627 (Main Line) > > Made Media Ltd > 105 Carver St, Birmingham B1 3AP > http://www.mademedia.co.uk/ > Registered in England & Wales: 4530365 > > ___________________ > > > _______________________________________________ > suPHP mailing list > [email protected] > http://lists.marsching.biz/mailman/listinfo/suphp _______________________________________________ suPHP mailing list [email protected] http://lists.marsching.biz/mailman/listinfo/suphp
