OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
PHP fastcgi, suexec

From: John Tate (johnjohntate.org)
Date: Fri May 03 2013 - 19:09:25 CDT


I want to use fastcgi and suexec to run php programs as particular users
from Apache in a chroot. I've found documentation on running suexec, but I
can't find anything OpenBSD specific on getting fastcgi and php into the
chroot so I can use them. If you could at least please just point me in the
direction of documentation it would be good but some simple directions
would suffice.

I've installed php-5.3-fastcgi, how do I put the wrapper in the chroot? I
know where the wrapper is but I'm not sure about all the required files.

How do I put all the files related to my php in the chroot? Once again I'm
not sure about the required files.

--
www.johntate.org