title: Problem of loading mod_wsgi module into apache on Windows 64-bit
body: <p>I'm trying to install mod_wsgi module followed this <a href="http://code.google.com/p/modwsgi/wiki/InstallationOnWindows" rel="noreferrer">instruction</a>. I've downloaded mod_wsgi.so from <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="noreferrer">this source</a>. It seems like apache cannot restart services properly and the page cannot be loaded after I added the following line to httpd.conf</p>
  
  <p><code>LoadModule wsgi_module modules/mod_wsgi.so</code></p>
  
  <p>I've checked some issues from some sources as follows:</p>
  
  <ol>
  <li>The file name is correct - mod_wsgi.so not mod_wsgi.so.so</li>
  <li>Permissions on the file was set as same as other modules that loaded properly</li>
  <li>Python installed for all users</li>
  </ol>
  
  <p>Environment:</p>
  
  <ul>
  <li>Windows Server® Standard FE 64-bit</li>
  <li>Apache 2.2.8 on WAMP 2.0</li>
  <li>Python 2.7.1 installed for all users</li>
  </ul>
  
  <p>Without loading this module, apache runs properly. What is my problem?</p>
  
  <p>Application error.log:</p>
  
  <pre><code>[Mon May 23 10:12:20 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
  [Mon May 23 10:12:20 2011] [notice] Child 4528: Exit event signaled. Child process is ending.
  [Mon May 23 10:12:21 2011] [notice] Child 4528: Released the start mutex
  [Mon May 23 10:12:22 2011] [notice] Child 4528: All worker threads have exited.
  [Mon May 23 10:12:27 2011] [notice] Child 4528: Child process is exiting
  [Mon May 23 10:12:28 2011] [notice] Parent: Child process exited successfully.
  [Mon May 23 10:13:46 2011] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
  [Mon May 23 10:13:46 2011] [notice] Server built: Jan 18 2008 00:37:19
  [Mon May 23 10:13:46 2011] [notice] Parent: Created child process 5316
  [Mon May 23 10:13:46 2011] [notice] Child 5316: Child process is running
  [Mon May 23 10:13:46 2011] [notice] Child 5316: Acquired the start mutex.
  [Mon May 23 10:13:46 2011] [notice] Child 5316: Starting 64 worker threads.
  [Mon May 23 10:13:46 2011] [notice] Child 5316: Starting thread to listen on port 81.
  [Mon May 23 10:14:57 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
  [Mon May 23 10:14:57 2011] [notice] Child 5316: Exit event signaled. Child process is ending.
  [Mon May 23 10:14:58 2011] [notice] Child 5316: Released the start mutex
  [Mon May 23 10:14:59 2011] [notice] Child 5316: All worker threads have exited.
  [Mon May 23 10:15:04 2011] [notice] Child 5316: Child process is exiting
  [Mon May 23 10:15:04 2011] [notice] Parent: Child process exited successfully.
  </code></pre>
  
  <p>From apache error.log, is it clear that installed apache is 32-bit?</p>
  
  <p><strong>Soulution:</strong> Change everything to 64-bit.</p>