Setuid php execution?

From: Date: Wed, 09 May 2001 14:57:43 +0000
Subject: Setuid php execution?
Groups: php.install 
Request: Send a blank email to php-install+get-3083@lists.php.net to get a copy of this message
I have had PHP 4.0.4pl1 and Apache 1.3.17 running for a while now and I can use the php module as well as the cgi-bin executor (I built it twice). However, I have multiple virtual servers running I want to be able to say that on one of the servers, it should run all files with a .php suffix as a different user. I can do this with the Apache setuid exec feature and the config directives: User somebody AddHandler cgi-script .cgi DirectoryIndex index.html index.cgi And then I the user must create files that are executable and start with: #!/usr/local/it/bin/php However, I would like to be able to make these run as the appropriate user and not need execute permision (you try to explain to a PC users how to log into a Unix system and use a command like "chmod 755 file"). Any ideas? -- Gary Algier, WB2FWZ gary.algier@ulticom.com +1 856 787 2758 Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054 Fax:+1 856 866 2033 A self-addressed envelope would be addressed "envelope."

« previous php.install (#3083) next »