PHP FPM settings

Valentin V. Bartenev vbart at nginx.com
Tue Feb 19 12:25:42 UTC 2019


On Monday 18 February 2019 14:52:15 Dave Matheis wrote:
> Hello,
> 
> When setting up a php application, is there a place within the unit settings
> to put the directives that would otherwise be in a /etc/php-fpm.d/*.conf
> file? For example the security.limit_extensions directive and the user and
> group directives?  The values in my .conf file do not seem to applied to my
> unit php app, although the app is otherwise working.
[..]

The default path depends on how libphp is built in your OS.  You can check it
in phpinfo() output.  Also, with Unit you can reconfigure it via control API.
See the relevant documentation: https://unit.nginx.org/configuration/#php-application

  wbr, Valentin V. Bartenev



More information about the unit mailing list