Problème de chargement de mod_wsgi module dans apache sur Windows 64 bits

Je suis en train d'installer mod_wsgi module de suivi de cette l'instruction. J'ai téléchargé mod_wsgi.donc, à partir de cette source. Il semble que apache ne peut pas redémarrer correctement les services et la page ne peut pas être chargé après j'ai ajouté la ligne suivante à httpd.conf

LoadModule wsgi_module modules/mod_wsgi.so

J'ai vérifié certains problèmes de certaines sources comme suit:

  1. Le nom de fichier est correct - mod_wsgi.afin de ne pas mod_wsgi..donc
  2. Les autorisations sur le fichier a été défini comme même que d'autres modules qui ont été chargés correctement
  3. Python installé pour tous les utilisateurs

Environnement:

  • Windows Server® Standard FE 64 bits
  • Apache 2.2.8 sur WAMP 2.0
  • Python 2.7.1 installé pour tous les utilisateurs

Sans chargement de ce module, apache fonctionne correctement. Quel est mon problème?

Erreur d'Application.journal:

[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.

À partir des erreurs d'apache.journal, il est clair que les installé apache est en 32 bits?

Soulution: tout Changer à 64 bits.

Python est en 64 bits, mais je n'ai aucune idée de comment faire pour vérifier si wamp est 32-bits ou 64-bits. Est-il vrai que wamp 2.0 a seulement la version 32 bits? Apache erreur.journal a été ajoutée à ma question.
J'ai juste eu le même problème, mais a fini par installer la version 32 bits Python à résoudre.

OriginalL'auteur Protocole | 2011-05-23