2010-11-18 14 views
0

Tüm PHP sayfalarım iyi çalışıyor, ancak çalışmak için kullanılan bir PHP sayfası var ama şimdi donuyor (tarayıcıya gittiğimde, yanıt vermeden zaman aşımına uğruyor).Apache, tek bir PHP sayfasında donuyor

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

ben o sayfaya eklemiş tek şey bazı JavaScript kodu:

Bu günlüklerine yazıldığı tek hatadır. Ayrıca, kodda bazı sonsuz özyineleme olması durumunda sayfanın tüm içeriğini yorumlamaya çalıştım.

Apache ve PC'yi birkaç kez yeniden başlattım.

İşletim sistemim Windows 7'dir. Sorun ne olabilir?

+0

Eklediğiniz javascript kodunu kaldırdığınızda ne olur? – Chris

+0

bu sayfadaki kodu, sonsuz bir yerde bir yere mi yüklediniz? – ajreal

cevap

1

Komut dosyasını sunucudan değil, komut satırından çalıştırmayı deneyin - bu, konsolda daha spesifik bir hata iletisi verebilir. Yayınladığınız hata günlüğüne, yazabildiğiniz kadarıyla komut dosyanızla ilgili hiçbir şey gösterilmiyor.

Linux'ta sadece yazarsınız: Ben Windows'da bir komut terminalden aynı yapabileceği hayal

istemi> php myScript.php?

1

İplik korumalı (nts) PHP ikili dosyalarını indirebilirsiniz. Windows üzerinde düzgün çalışmayacaklar.