Php with Apache rights, not vhost rights
i've a big problem:
All my PhpScripts are running under Apache2 Rights, like wwwrun.
So Typo3 (the php script) creates files under the username wwwrun.
i would like to have the same username and -group like the virtualhost.
I think Suexec doesnt work correct.
What to do?
But to change this, i have to compile it ( man suexec2 ).
So whats the solution ? ;)
Guys i count on you....
suExec is only for CGI scripts (e.g. Perl scripts). If you run PHP as CGI (and not as an Apache module), then suExec is for you. But mostly PHP runs as an Apache module, so you might have a look at suPHP (http://www.suphp.org/Home.html).
You are the best! I love you ;-)
P.S. For Debian user:
apt-get install libapache2-mod-suphp (for apache)
apt-get install libapache-mod-suphp (for apache2)
|All times are GMT +2. The time now is 14:49.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.