php3-list | 199908
Date: 08/10/99
- Next message: Exocom - Fabian Rodriguez: "RE: [PHP3] Displaying date in french - SOLVED?"
- Previous message: Chris Cosentino: "Re: [PHP3] selecting date range"
- In reply to: Olivier Mueller: "[PHP3] "suexec" for php?"
- Next in thread: Sandino Araico Sanchez: "Re: [PHP3] "suexec" for php?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've done it with a custom CGI written in C that you place in the PHP Safe
Dir and use PHP to call as a system call.
You'd have to customize it for each uid and gid. I mostly designed it to
work with file uploads to transfer the files from the /tmp dir to the user
dir.
Because of my setup, it wasn't "possible". SO I did the impossible.
If you want it, let me know. Use at your own risk. There are some modest
protections built in like buffer overflow, attempting to access illegal
directories etc. But probably could use more. You will have to modify
since it is customized for a different use. But could be used for almost
anything.
Jose
----- Original Message -----
From: Olivier Mueller <phpml <email protected>>
To: <php3 <email protected>>
Sent: Tuesday, August 10, 1999 1:59 AM
Subject: [PHP3] "suexec" for php?
Is there any way to allow my virtualserver users to write in their
directories with php ? For perl scripts, suexec work like a charm,
using the User and Group Apache instructions from <VirtualHost>.
For php scripts, it doesn't work because webserver id is "nobody".
Would be really happy to see any hint other than chmod a+rwx users
files...
Olivier
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Exocom - Fabian Rodriguez: "RE: [PHP3] Displaying date in french - SOLVED?"
- Previous message: Chris Cosentino: "Re: [PHP3] selecting date range"
- In reply to: Olivier Mueller: "[PHP3] "suexec" for php?"
- Next in thread: Sandino Araico Sanchez: "Re: [PHP3] "suexec" for php?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

