[Cherokee] fcgi php, but not as root
Stefan de Konink
skinkie at xs4all.nl
Fri Oct 26 04:06:22 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I'm trying to run a php fcgi extension, this works. But all my requests
are processed as root. And this is not what I want.
vserver!default!extensions!php!handler = phpcgi
vserver!default!extensions!php!handler!change_user = 1
vserver!default!extensions!php!handler!interpreter = /usr/bin/php-cgi
vserver!default!extensions!php!priority = 1310
The above gives me some security...
But I would like to have this to work as another user:
#vserver!default!extensions!php!handler = fcgi
#vserver!default!extensions!php!handler!change_user = 1
#vserver!default!extensions!php!handler!user = cherokee
#vserver!default!extensions!php!handler!balancer = round_robin
#vserver!default!extensions!php!handler!balancer!type = interpreter
#vserver!default!extensions!php!handler!balancer!local1!host =
localhost:1234
#vserver!default!extensions!php!handler!balancer!local1!env!PHP_FCGI_CHILDREN
= 5
#vserver!default!extensions!php!handler!balancer!local1!interpreter =
/usr/bin/php-cgi -b 1234
#vserver!default!extensions!php!priority = 99999
What should I change?
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHIUueYH1+F2Rqwn0RCnMMAJsEic7eZKSsJ8kGrTMnkQzizmQolgCcDXl/
QvgbQJn3t/6MO/ITkg/8LuM=
=TewZ
-----END PGP SIGNATURE-----
More information about the Cherokee
mailing list