Quantcast
Channel: Setting environment variables in mod_wsgi for Django - Server Fault
Browsing latest articles
Browse All 5 View Live

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 Article


Answer 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 Article

Answer 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 Article

Answer 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 Article

Setting 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

Browsing latest articles
Browse All 5 View Live