Hi all,

I need to build php as a CGI for some scripts that need to run as the user
(image gallery scripts, where safe mode isn't enough to write to user
directories, I need the files written AS a user, and chmodding the
directory 6777 is just nuts.).

To this end I figure I can add a new mime type to apache and a new
extension to the scripts, and be good to go.

What I've seen a lot of on the lists is either some requirement that the
php binary be installed in each user's cgi-bin, or that all scripts start
with php.  (I run suexec, but I'm not sure if the suexec restrictions
apply to "HANDLERS" (I'm pretty sure they don't, but then again I'm not
100 percent sure they will run as the user if defined this way.)

Has anyone here successfully set up php to work both ways?

You would think searching the entirety of the lists and google groups I'd
find one working config file.

-Dan Mahoney

--

"If you need web space, give him a hard drive.  If you need to do something really 
heavy, build him a computer."

-Ilzarion, late friday night

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Web: http://prime.gushi.org
finger [EMAIL PROTECTED]
for pgp public key and tel#
---------------------------




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to