Already answered on Stack Overflow.

http://stackoverflow.com/questions/39590818/mod-wsgi-runtime-using-old-python-version
 
<http://stackoverflow.com/questions/39590818/mod-wsgi-runtime-using-old-python-version>

Graham

> On 20 Sep 2016, at 9:00 PM, Mostafa Wattad <wattad...@gmail.com> wrote:
> 
> 
> down vote
>  <>favorite
>  
> <http://stackoverflow.com/questions/39590818/mod-wsgi-runtime-using-old-python-version#>
>      
> I'm running a django server on httpd service. I had to upgrade my python 
> version(2.7.12). After installing the new python I rebuild the mod_wsgi with 
> the new python (using with-python argument). I also rebuild the mod_python 
> with the new python version. My new python path is /usr/local/bin/python2.7. 
> In the /etc/httpd/conf.d/django.conf I added the following line : 
> WSGIPythonHome /usr/local.
> 
> However I see this error in my error_log file (httpd error log):
> 
> [Tue Sep 20 12:32:12.743338 2016] [:warn] [pid 8567:tid 139972130834496]    
> mod_wsgi: Compiled for Python/2.7.12. 
> [Tue Sep 20 12:32:12.743376 2016] [:warn] [pid 8567:tid 139972130834496]    
> mod_wsgi: Runtime using Python/2.7.5.
> What i'm missing ?
> 
> FYI : I cannot change or redirect the default python that exists in 
> /usr/bin/python because this affect centos package management.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to modwsgi+unsubscr...@googlegroups.com 
> <mailto:modwsgi+unsubscr...@googlegroups.com>.
> To post to this group, send email to modwsgi@googlegroups.com 
> <mailto:modwsgi@googlegroups.com>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to