title: Deploying mod_wsgi: Error loading MySQLdb module
body: <p>I want to deploy my django app using apache + mod_wsgi again. I seem to be getting this error 500 message Initially, I was told that I need the latest version of MySQLdb. After I had installed, I got this error message.</p>
  
  <pre><code>Error loading MySQLdb module: /tmp/MySQL_python-1.2.3-py2.4-linux-i686.egg-tmp/_mysql.so: failed to map segment from shared object: Permission denied
  </code></pre>
  
  <p>I am not sure really what the problem is. I believe it might have something to do with this line written in my httpd.conf.</p>
  
  <pre><code>WSGIPythonEggs /tmp
  </code></pre>
  
  <p>But it is set that that so it can read write &amp; execute. </p>