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 -- Jon Chappell [email protected] On April 4, 2014 at 11:27:48 AM, Matteo Centonza ([email protected]) wrote: Hello Damian, thanks for the hint. I've already evaluated --php-set, but right now there's no way to pass the ini scan dir from any php config directive. AFAICT, even though there's a proposal for this: https://bugs.php.net/bug.php?id=47871 has not been implemented yet. I'm mainly a java guy. I'm i overlooking something? I'm trying to have exactly the same semantic inferred by PHP_INI_SCAN_DIR, since this approach has been tested and works fine in our environment. BTW, i'll implement an alternative approach by using multiple --php-ini-append to simulate directory scansion should no other solution to problem arise. Thanks again, -m 2014-04-04 17:08 GMT+02:00 Damjan Georgievski <[email protected]>: > i'm a complete newby to uwsgi, so sorry if i'm overlooking something > obvious. > > I've recompiled uwsgi 2.0.3 along with php plugin and i'm trying to have > $PHP_INI_SCAN_DIR system variable passed to underlying php instance (5.3.3) > in order to have a given directory scanned for additional ini files (a la > /etc/php.d, in order to fully support per instance php configs): You can use either --php-set or --php-ini-append (uwsgi --plugin php --help | grep php) _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
