2010-11-18 4 views
0

Alle meine PHP-Seiten funktionieren gut, aber es gibt eine PHP-Seite, die funktioniert, aber jetzt friert es ein (wenn ich im Browser darauf zugreife, läuft es ohne Antwort ab).Apache friert auf einer einzigen PHP-Seite ein

Dies ist der einzige Fehler, die Protokolle geschrieben:

[Thu Nov 18 12:23:18 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations 
[Thu Nov 18 12:23:18 2010] [notice] Server built: Mar 4 2010 11:27:46 
[Thu Nov 18 12:23:18 2010] [notice] Parent: Created child process 3928 
[Thu Nov 18 12:23:19 2010] [notice] Child 3928: Child process is running 
[Thu Nov 18 12:23:19 2010] [notice] Child 3928: Acquired the start mutex. 
[Thu Nov 18 12:23:19 2010] [notice] Child 3928: Starting 64 worker threads. 
[Thu Nov 18 12:23:19 2010] [notice] Child 3928: Starting thread to listen on port 80. 
[Thu Nov 18 12:23:59 2010] [notice] Parent: child process exited with status 255 -- Restarting. 
[Thu Nov 18 12:24:05 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations 
[Thu Nov 18 12:24:05 2010] [notice] Server built: Mar 4 2010 11:27:46 
[Thu Nov 18 12:24:05 2010] [notice] Parent: Created child process 388 
[Thu Nov 18 12:24:06 2010] [notice] Child 388: Child process is running 
[Thu Nov 18 12:24:06 2010] [notice] Child 388: Acquired the start mutex. 
[Thu Nov 18 12:24:06 2010] [notice] Child 388: Starting 64 worker threads. 
[Thu Nov 18 12:24:06 2010] [notice] Child 388: Starting thread to listen on port 80. 
[Thu Nov 18 12:24:24 2010] [notice] Parent: child process exited with status 255 -- Restarting. 
[Thu Nov 18 12:24:25 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations 
[Thu Nov 18 12:24:25 2010] [notice] Server built: Mar 4 2010 11:27:46 
[Thu Nov 18 12:24:25 2010] [notice] Parent: Created child process 2816 
[Thu Nov 18 12:24:26 2010] [notice] Child 2816: Child process is running 
[Thu Nov 18 12:24:26 2010] [notice] Child 2816: Acquired the start mutex. 
[Thu Nov 18 12:24:26 2010] [notice] Child 2816: Starting 64 worker threads. 
[Thu Nov 18 12:24:26 2010] [notice] Child 2816: Starting thread to listen on port 80. 
[Thu Nov 18 12:24:26 2010] [notice] Parent: child process exited with status 255 -- Restarting. 
[Thu Nov 18 12:24:27 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations 
[Thu Nov 18 12:24:27 2010] [notice] Server built: Mar 4 2010 11:27:46 
[Thu Nov 18 12:24:27 2010] [notice] Parent: Created child process 3680 
[Thu Nov 18 12:24:28 2010] [notice] Child 3680: Child process is running 
[Thu Nov 18 12:24:28 2010] [notice] Child 3680: Acquired the start mutex. 
[Thu Nov 18 12:24:28 2010] [notice] Child 3680: Starting 64 worker threads. 
[Thu Nov 18 12:24:28 2010] [notice] Child 3680: Starting thread to listen on port 80. 
[Thu Nov 18 12:28:52 2010] [notice] Parent: child process exited with status 255 -- Restarting. 
[Thu Nov 18 12:28:53 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations 
[Thu Nov 18 12:28:53 2010] [notice] Server built: Mar 4 2010 11:27:46 
[Thu Nov 18 12:28:53 2010] [notice] Parent: Created child process 3828 
[Thu Nov 18 12:28:54 2010] [notice] Child 3828: Child process is running 
[Thu Nov 18 12:28:54 2010] [notice] Child 3828: Acquired the start mutex. 
[Thu Nov 18 12:28:54 2010] [notice] Child 3828: Starting 64 worker threads. 
[Thu Nov 18 12:28:54 2010] [notice] Child 3828: Starting thread to listen on port 80. 

Das einzige, was ich zu dieser Seite hinzugefügt haben, ist ein Code JavaScript. Ich habe auch versucht, den gesamten Inhalt der Seite zu kommentieren, nur für den Fall, dass es eine endlose Rekursion im Code gibt.

Ich habe Apache und PC mehrmals neu gestartet.

Mein Betriebssystem ist Windows 7. Was könnte ein Problem sein?

+0

Was passiert, wenn Sie den JavaScript-Code entfernen, den Sie hinzugefügt haben? – Chris

+0

Post den Code für diese Seite, Endlosschleife irgendwo? – ajreal

Antwort

1

Versuchen Sie, das Skript über die Befehlszeile und nicht über den Server auszuführen. Dadurch erhalten Sie möglicherweise eine spezifischere Fehlermeldung in der Konsole. Das Fehlerprotokoll, das Sie gepostet haben, scheint nichts zu Ihrem Skript zu zeigen, soweit ich das beurteilen kann.

In Linux würden Sie geben Sie einfach:

prompt> php myscript.php

Ich stelle mir vor, dass Sie das gleiche von einem Befehls-Terminal in Windows tun kann?

1

Ich denke, dass Sie nicht Thread-sichere (nts) PHP-Binärdateien herunterladen können. Sie werden unter Windows nicht korrekt funktionieren.