On Fri, Mar 20, 2009 at 12:06 AM, vishnu.kumar <[email protected]> wrote:
>
> Hi,
> i have a centos 64-bit server.
> django and mod_wsgi are installed in it
> Apache version is 2.2.3
>
> After i enable mod_wsgi using Load module in httpd.conf i get
> "Fatal Python error: Interpreter not initialized (version mismatch?)"
> in error log.
>
> and i am not able to access all other sites and gives 403 Forbidden
>
> Can anyone give me solution

What version of CentOS are you using? On older versions, I found I
needded to build Python from source and install in /usr/local/ and
make sure you build it with shared libraries enabled. You then compile
mod_wsgi against the custom-built Python and set WSGIPythonHome to
/usr/local

Also as Graham already pointed out you probably have something in your
Apache server that conflicts with mod_wsgi. Typically this would be
mod_python but in older CentOS versions I found I had to disable
mod_php just to get it to work.

CentOS 5.2 does not appear to have these issues, especially the
conflict with mod_php. I have mod_wsgi and mod_php happily chugging
along on one server.
--
Best Regards,
Nimrod A. Abing

W http://arsenic.ph/
W http://preownedcar.com/
W http://preownedbike.com/
W http://abing.gotdns.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to