Re: UID on APACHE ..
| From: | Alexandre E. Knorst | Date: | Sat, 11 Jan 2003 16:58:47 +0000 |
| Subject: | Re: UID on APACHE .. | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12258@lists.php.net to get a copy of this message | ||
Hi ..
My problem is on mount there same solution in "PHP as CGI" where is the actual ..
Because, i can't change my all sources for use this new solution ..
Searching on the NET, i don't have found an example for using in httpd.conf for solve this ..
Anybody can help me with this ??
Thanks . .
- Alexandre
:: PS: Sorry, my english is bad !! :-((
At 1/10/2003 00:21, you wrote:
I am sorry to say that, but its not possible to change the UID with PHP as a module, the suexec only applies to CGI scripts, if you install PHP as CGI it would work... as PHP module, no way On Thu, 09 Jan 2003 19:19:36 -0200 "Alexandre E. Knorst" <aeknorst@terra.com.br> wrote: Hi Peoples,I have a BIG problem,In my WebServer, running Apache and PHP as Module, I have many diferentsVirtualHost.Each VirtualHost running under a diferent user with suexec.But, the users call fails when they try to use functions to manipulatefiles/directories,I think this is happening because the PHP are calling the function as thegeneral Apache user, and not the VirtualHost user ..I really appreciate if you have any clue to avoid this behavior ...Thanks.- Alexandre... Port 80 User httpd Group www ... <VirtualHost *> User xyz Group sites ServerName www.xyz.com DocumentRoot /home/httpd/sites/xyz php_admin_flag safe_mode On php_admin_value doc_root "/home/httpd/sites/xyz" php_admin_value open_basedir "/home/httpd/sites/xyz:/tmp/" php_admin_value safe_mode_exec_dir "/home/httpd/sites/xyz/bin" CustomLog /home/httpd/logs/xyz/access_log common ScriptAlias /cgi-bin /home/httpd/sites/xyz/cgi-bin </VirtualHost> -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Mirco Bauer aka MEEBEY -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d s-: a--- C++ UL++>++++ P L++$>+++$ E W+++$ N o? K- w++>! O- M- V? PS PE+ Y- PGP>++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r>++ y? ------END GEEK CODE BLOCK------ -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Esta mensagem foi verificada pelo E-mail Protegido Terra. Scan engine: VirusScan / Atualizado em 08/01/2003 / Versão: 1.3.13 Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/