Problem der be-mod_wsgi Modul in apache auf Windows 64-bit

Ich versuche zu installieren mod_wsgi Modul folgte dieser Anleitung. Ich habe heruntergeladen mod_wsgi.also von diese Quelle. Wie es scheint, kann der apache nicht starten Sie die Dienste ordnungsgemäß und die Seite kann nicht geladen werden, nachdem ich fügte hinzu, die folgende Zeile in httpd.conf

LoadModule wsgi_module modules/mod_wsgi.so

Ich habe einige Probleme von einigen Quellen wie folgt:

  1. Der name der Datei korrekt ist - mod_wsgi.also nicht mod_wsgi.so.so
  2. Berechtigungen für die Datei gesetzt wurde genauso wie andere Module, die geladen, richtig
  3. Python für alle Benutzer installiert

Umgebung:

  • Windows Server® Standard-FE-64-bit -
  • Apache 2.2.8 auf WAMP 2.0
  • Python 2.7.1 installiert für alle Benutzer

Ohne das laden dieser module der apache einwandfrei läuft. Was ist mein problem?

Application error.log:

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

Vom apache-Fehler.anmelden, ist es klar, dass apache installiert ist, 32-bit?

Soulution: alles Ändern zu 64-bit.

  • Python ist 64-bit aber ich habe keine Ahnung, wie um zu prüfen, ob wamp 32-bit-oder 64-bit. Ist es wahr, dass wamp 2.0 hat nur 32-bit-version? Die Apache-error.log wurde Hinzugefügt, um meine Frage.
  • Ich hatte gerade das gleiche problem, aber am Ende der Installation von 32-bit-Python zu lösen.
InformationsquelleAutor Protocole | 2011-05-23
Schreibe einen Kommentar