Hello. This article was of great help to me when setting up nginx + php-fpm http://it-karma.blogspot.se/2013/01/installing-and-configuring-nginx-and.html
All the best Hasse On Sat, Mar 01, 2014 at 01:55:14PM -0500, Aaron wrote: > Hi, > > I've been using openbsd for a while now but just recently decided to > use nginx to provide http services. Currently I'm running OBSD 5.4 > stable on a HP dl360 g6. I'm new to php-fpm and nginx but trying to > work through it. Previously I worked through the issues of having > apache chrooted and made things work but I've been having a bit of > difficulty with the new setup. This is of course an subjective > question but do the guru's here feel it's more important to chroot > nginx or to use a chroot for php-fpm? > > I've had a difficult time getting quite a few different php > applications working with a chroot set with php-fpm, and of course > since most of them (piwigo, modx, coppermine etc) seem to be > developed for an apache2/mod_php environment, the forums there > aren't a ton of help usually. > > Since this isn't a specific issue I haven't provided any configs, > but if someone would like, I certainly can. > > Thanks, > > Aaron