I am trying to configure mod\_wsgi to use Python 2.7.

I downloaded and unpacked the source and ran

```
./configure --with-python=/usr/local/bin/python2.7

```

After this mod\_wsgi.so-2.4 and mod\_wsgi.so-2.5 appeared in /usr/lib/apache2/modules.

I restarted the server but this reports "internal server error". Error logs show that on start-up the server is reporting usage of Python 2.5.2 -- the same version as previously.

How do I get Apache to run Python 2.7?
How do I get mod\_wsgi configured properly to run with Python 2.7?