Why is www's $PATH only /usr/bin:/bin?
fluca1978 at infinito.it
Thu Apr 28 10:51:31 UTC 2016
On Thu, Apr 28, 2016 at 11:40 AM, Niklaas Baudet von Gersdorff
<stdin at niklaas.eu> wrote:
> In NGINX's configuration it's possible to change php.ini settings for
> particular server processes. I'll go for that. If that's not possible I'll try
> to spawn a separate php-fpm process that configured the way I need it. And if
> that's not possible I'll hardcode a function in PHP.
Another way, less dynamic but I suspect a little more robust, is to
use a deployment that creates/adjusts the right path to the right
command. For instance you can have a PHP config file with variables
that point to commands (full path) and have a deployment script to
adjust such values to installations.
I use this technique when placing the same application over sligthly
More information about the freebsd-questions