2013-05-09 76 views
1

我試圖在本地主機上設置CakePHP。除非頁面轉到需要讀取數據庫的頁面,否則它工作得很好。Apache - Parent:收到關機信號

這只是表明:

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. 

More information about this error may be available in the server error log. 

這裏的錯誤日誌:

[Thu May 09 12:07:44 2013] [notice] Parent: Received shutdown signal -- Shutting down the server. 
[Thu May 09 12:07:44 2013] [notice] Child 844: Exit event signaled. Child process is ending. 
[Thu May 09 12:07:45 2013] [notice] Child 844: Released the start mutex 
[Thu May 09 12:08:00 2013] [notice] Child 844: All worker threads have exited. 
[Thu May 09 12:08:00 2013] [notice] Child 844: Child process is exiting 
[Thu May 09 12:08:00 2013] [notice] Parent: Child process exited successfully. 
Warning: DocumentRoot [C:/apache2/docs/dummy-host.example.com] does not exist 
Warning: DocumentRoot [C:/apache2/docs/dummy-host2.example.com] does not exist 
[Thu May 09 12:08:01 2013] [notice] Apache/2.2.22 (Win64) PHP/5.3.13 configured -- resuming normal operations 
[Thu May 09 12:08:01 2013] [notice] Server built: May 13 2012 19:41:17 
[Thu May 09 12:08:01 2013] [notice] Parent: Created child process 2504 
Warning: DocumentRoot [C:/apache2/docs/dummy-host.example.com] does not exist 
Warning: DocumentRoot [C:/apache2/docs/dummy-host2.example.com] does not exist 
Warning: DocumentRoot [C:/apache2/docs/dummy-host.example.com] does not exist 
Warning: DocumentRoot [C:/apache2/docs/dummy-host2.example.com] does not exist 
[Thu May 09 12:08:01 2013] [notice] Child 2504: Child process is running 
[Thu May 09 12:08:01 2013] [notice] Child 2504: Acquired the start mutex. 
[Thu May 09 12:08:01 2013] [notice] Child 2504: Starting 64 worker threads. 
[Thu May 09 12:08:01 2013] [notice] Child 2504: Starting thread to listen on port 80. 

大多數的回答是我在谷歌找到要求我們編輯C:\WINDOWS\System32\drivers\etc\hosts只有一隻127.0.0.1 localhost。我從一開始就一直如此。

順便說一句,在錯誤日誌中,它說C:/apache2/...。但在我的C文件夾中,該目錄不存在。

我使用WAMP服務器,如果這件事。

任何解決方案? 謝謝

回答

0

我將服務器從WAMP更改爲XAMPP,現在它可以正常工作。不知道是什麼原因造成的。