[mpm-itk] php5-cgi with ITK

Tino Didriksen tino at didriksen.cc
Fri Mar 24 18:30:27 UTC 2017


Sounds like a job for separate php-fpm pools.

You really don't want plain CGI, but FastCGI via php-fpm can do the job,
and php-fpm can run as whatever user you want per pool.

-- Tino Didriksen

On 24 March 2017 at 19:08, Peter Thomassen <thomassen at a4a.de> wrote:

> Hi,
>
> I am wondering whether it is possible to run PHP via the CGI interface
> in an ITK setup, such that PHP scripts will run under the permissions
> prescribed by ITK.
>
> I know that I can run PHP as a module (and I have been doing that), but
> I would like to have the ability to run different PHP versions at the
> same time, which requires using the CGI (or FastCGI) interface.
>
> Does anyone know if this is possible, or whether I need to resort to
> suexec?
>
> Thanks!
>
> Have a nice weekend,
> Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.err.no/pipermail/mpm-itk/attachments/20170324/a1711677/attachment.html>


More information about the mpm-itk mailing list