2016-10-14 57 views
0

這是我的第一個問題,第一個問題是我作爲提問者在stackoverflow上。Wamp&Apache 2.0.63

我的問題:

WAMP下不啓動版的Apache服務器2.0.63

OS &軟件,我用: - Windows 7的SP1 - WAMP 2.2下載的擴展阿帕奇2.0.63

我能做些什麼: 從它的2.2.21版本啓動apache。

有一個與我的防火牆/防毒和端口80沒問題是免費

下面是我當我從2.2.21切換到2.0.63檢索日誌:

[Fri Oct 14 18:24:53 2016] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations 
[Fri Oct 14 18:24:53 2016] [notice] Server built: Sep 24 2011 19:57:51 
[Fri Oct 14 18:24:53 2016] [notice] Parent: Created child process 7672 
[Fri Oct 14 18:24:53 2016] [notice] Child 7672: Child process is running 
[Fri Oct 14 18:24:53 2016] [notice] Child 7672: Acquired the start mutex. 
[Fri Oct 14 18:24:53 2016] [notice] Child 7672: Starting 64 worker threads. 
[Fri Oct 14 18:24:53 2016] [notice] Child 7672: Starting thread to listen on port 80. 
[Fri Oct 14 18:24:53 2016] [notice] Child 7672: Starting thread to listen on port 80. 
[Fri Oct 14 18:25:03 2016] [notice] Parent: Received shutdown signal -- Shutting down the server. 
[Fri Oct 14 18:25:03 2016] [notice] Child 7672: Exit event signaled. Child process is ending. 
[Fri Oct 14 18:25:04 2016] [notice] Child 7672: Released the start mutex 
[Fri Oct 14 18:25:05 2016] [notice] Child 7672: All worker threads have exited. 
[Fri Oct 14 18:25:05 2016] [notice] Child 7672: Child process is exiting 
[Fri Oct 14 18:25:05 2016] [notice] Parent: Child process exited successfully. 

任何想法或曲目將是最受歡迎的。 E.

回答

0

如果標準Apache日誌沒有顯示任何內容,最好在Apache打開標準日誌之前寫入Windows Event Viewer

如何運行事件查看器

Windows Key + R 
Enter eventvwr 
Press the OK button 

等待觀衆來處理所有的日誌,這可能需要一分鐘左右。

在左欄中點擊Windows Logs,然後點擊Applications

enter image description here

看下來ApacheSource列,你可能會看到來自Apache的錯誤。

我認爲當你試圖在Windows 7上運行一個非常舊版本的Apache時,這個版本的Apache所需的MSVC C/C++ Runtime library從Windows 7中缺少,因爲MS不會強制安裝老版本的運行時庫。

另一種可能性是您沒有可以使用此舊版本Apache運行的PHP版本。

所以你將不得不安裝一個PHP5.2版本。因爲這是PHP的最後一個版本,我相信它具有爲Apache 2.0配置映射的鏈接。

另一個可能的問題當然是找到一個PHP版本,它使用與您使用的Apache相同版本的MSVC編譯器進行編譯。這可能是VC6!

也是那麼古老,Apache或PHP版本不太可能爲X64編譯,因此您需要確保已安裝了32位版本的WAMPServer。

PHP檔案http://windows.php.net/downloads/releases/archives/

總之這將是一個相當艱難的過程,以得到正確的

0

試圖使其工作,我發現是下載XAMPP 1.5的溶液。 4其中包括PHP 5.1.6。雖然我沒有apache 2.0.63,但沒關係。

+0

您也可以從[sourceforge]下載舊版本的WAMPServer(https://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.1/) – RiggsFolly