2014-11-03 16:46 GMT+01:00 robert brook <software.by.pyt...@gmail.com>:
> This is the first time that I am having apache configured to run django > > I plan on using mod_wsgi on apache and linux using 2 servers, the apache > server and the application server. > > The linux (red hat 6) / django server had python 2.6 installed for admin > purposes out of the box.. > Go figure, 2.6 has to be 10 years old. > > When you type in python, the 2.6 version runs. > > We added python 3.3 to install all of the packages to run the application. > > I am able to launch the local dev server with python 3.3 after running a > script to initiate python 3.3 > > I will have apache point to the wsgi.py file for the django application. > But how will apache know to implement python3.3 > > If I am missing something let me know, I am new at this production > implementation. > > Thanks > > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/2304dc16-31da-4fcd-bec5-d8e807b4b4d2%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/2304dc16-31da-4fcd-bec5-d8e807b4b4d2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Hi Robert, You should look into virtual environments. That way you can get a python 2.6, 2.7, 3.3 or 3.4 environment running without any problems. Check out: http://docs.python-guide.org/en/latest/dev/virtualenvs/. When you have a working environment, you just have to activate it before you start the mod_wsgi instance, check: https://code.google.com/p/modwsgi/wiki/VirtualEnvironments Regards, Andréas -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALXYUb%3DU3TLHUddqyD%2B3k4XZAn5BD%2B393byjOCLbyD4FvKSShQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.