I have installed php5-fpm and lighttpd. I want to chroot the directory of each vhost.

I don't want one vhost can read other vhost's file. How to do it by FPM ?

Thank you

link|improve this question
feedback

1 Answer

You would need to create a separate pool of PHP processes for each user. You would need to bind each one to a separate socket, and configure lighttpd to send requests to a different process depending on which vhost is being accessed.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.