hi leute ich habe ein problem unswar läuft mein lighty unter www-data und sobald ein phpupload stattgefunden hat sind die files unter www-data:www-data das problem jetzt ist das ich mit meinem ftpuser keine rechte habe an diese datei zu kommen
alles mögliche gestest bekomme es aber nicht hin das ich gleichzeitig uppen kann und die dateien laden die von www-data erstellt wurden sprich phpuploads
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Ernsthaft: Du willst spawn-fcgi nicht nur aus dem aktuellen Grund, sondern auch wegen der höheren Sicherheit durch die für jeden VHost individuellen User/Group und weiteren kleinen Vorteilen.
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
ich würde lieber spawn-fcgi nehmen aber leider ist es nicht möglich mit dem spawn-fcgi bin eine individuelle php.ini zu laden spawn-cfgi --help liefert keine infos drüber wie es gehen sollte und im lighty trac auch keine infos drüber nur ein patch der leider mit der 1.4.19 ver. nicht mehr funzt
This does not appear to work. The php command line arguments are
ignored and instead uses the default php.ini. Steph's patch allows us
to pass in the custom config, and it works great.
The disco
>
> This is not really needed since you can allways add arguments to the
> "bin-path" parameter from within lighttpd using fastcgi, or use the
> form:
>
> # ./spawn-fcgi -f "php-cgi -c /tmp/php.ini"
>
> Or did I miss something?
getestet... und es geht net^^ sprich der parameter "php5-cgi -c /blubb/bla/php.ini" wird ignoriert