Bug #1508: Programs are not executed with uid of apache virtual host
| From: | koch at n-e-t dot de | Date: | Tue, 08 Jun 1999 10:37:09 +0000 |
| Subject: | Bug #1508: Programs are not executed with uid of apache virtual host | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6707@lists.php.net to get a copy of this message | ||
From: koch@n-e-t.de
Operating system: Solaris 2.5.1
PHP version: 3.0.7
PHP Bug Type: Other
Bug description: Programs are not executed with uid of apache virtual host
Programs executed with one of the program execution functions (e.g. passthru, system) are executed
with
the uid of the main apache server (www), instead with the uid of the apache virtual host (www1).
Extract from httpd.conf:
...
User www
Group www
...
<VirtualHost eule1.n-e-t.de:80>
User www1
Group www
...
Options FollowSymLinks ...
AddType application/x-httpd-php3 .php3
Php3_Engine on
Php3_Safe_Mode on
Php3_Safe_Mode_Exec_Dir /NET/www/eule1.n-e-t.de/cgi
Php3_Doc_Root /NET/www/eule1.n-e-t.de/doc
Php3_Open_Basedir /ldsk/fs4/www/eule1.n-e-t.de/doc
...
</VirtualHost>
...
Configured Modules:
mysql, apache
There is no php.ini file in use.
/NET is a symbolic link to /ldsk/fs4.