↧
Answer by Doug Harris for Setting environment variables in mod_wsgi for Django
Another possible solution is to set LD_LIBRARY_PATH in the start up script -- e.g. in /etc/init.d/httpd:export ORACLE_HOME=<your oracle home>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
View ArticleAnswer by Michał Węgrzynek for Setting environment variables in mod_wsgi for...
In Ubuntu, placing export ORACLE_HOME=<your oracle home>export LD_LIBRARY_PATH=<your library path>in /etc/apache2/envvars seems to do the trick.If nothing else helps, you can edit your...
View ArticleAnswer by Graham Dumpleton for Setting environment variables in mod_wsgi for...
Since you built Apache from source code, you could have added to the 'envvars' file in same directory as 'httpd' executable the...
View ArticleAnswer by Michael C. O'Connor for Setting environment variables in mod_wsgi...
The key seems to have been adding the Oracle libraries to ld.so.conf.
View ArticleSetting environment variables in mod_wsgi for Django
I'm running Django on an RHEL instance under Apache/mod_wsgi, and I'm having issues setting some environment variables for the Python process. All of the components (Apache, Python, mod_wsgi, external...
View Article
More Pages to Explore .....