Hello Jon, Roberto,

2014-04-04 17:31 GMT+02:00 Jon Chappell <[email protected]>:

> This sounds like you need to export an environment variable that will be
> available, no?
>
>
> If so, including something like this in your uwsgi config might help:
>
> env = PHP_INI_SCAN_DIR=/var/path/to/stuff
>


this hint has indeed worked just fine and as verified via phpinfo(), php is
correctly
picking up ini files from that path.

The only side problem that i've experienced is that whenever i specify (as
i need to)
a php-ini directive (same using php-config or any other append variant) to
point to an
alternate php.ini file, php stops honoring the PHP_INI_SCAN_DIR. Don't know
if this is expected.

@Roberto: thanks for the hint to cycle on ini files.

A presto,

-m



>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to