conf - 關(guān)于設(shè)置apache配置文件!求解!
問題描述
為什么啟動不了,而報錯!我試了很多次了,其它都沒有問題。如果注譯這2行是可以正常啟動的apache的。我安裝的是xampp-win32-1.8.2-3-VC9-installer.exe環(huán)境,php5apache2_2.dll是它在php目錄下原先存在的,沒有另外下載。PHPIniDir也嘗試過修改為D:/xampp/php/php.ini,但也同樣不能啟動apache!
[Sun Jan 12 15:00:52.795055 2014] [ssl:warn] [pid 7544:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:53.460093 2014] [ssl:warn] [pid 7544:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:53.877117 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22 configured -- resuming normal operations[Sun Jan 12 15:00:53.878117 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00456: Apache Lounge VC10 Server built: Nov 26 2013 16:07:35[Sun Jan 12 15:00:53.878117 2014] [core:notice] [pid 7544:tid 256] AH00094: Command line: ’d:xamppapachebinhttpd.exe -d D:/xampp/apache’[Sun Jan 12 15:00:53.899118 2014] [mpm_winnt:notice] [pid 7544:tid 256] AH00418: Parent: Created child process 5512[Sun Jan 12 15:00:55.171191 2014] [ssl:warn] [pid 5512:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:55.973237 2014] [ssl:warn] [pid 5512:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name[Sun Jan 12 15:00:56.106244 2014] [mpm_winnt:notice] [pid 5512:tid 268] AH00354: Child: Starting 150 worker threads.[Sun Jan 12 15:27:04.794454 2014] [core:warn] [pid 7920:tid 196] AH00117: Ignoring deprecated use of DefaultType in line 112 of
error.logs
問題解答
回答1:如果沒有php相關(guān)配置行正確的好,那端口方面應(yīng)該沒有錯誤。建議現(xiàn)運行apachectl -t ,看看配置文件的檢查結(jié)果。
另外,截圖中的PHPIniDir設(shè)置明顯不對,文件名稱中少了.ini的后綴名。
=================
apachectl的路徑是:/Applications/xampp/xamppfiles/bin/apachectl
相關(guān)文章:
1. 數(shù)組按鍵值封裝!2. java - 阿里的開發(fā)手冊中為什么禁用map來作為查詢的接受類?3. docker不顯示端口映射呢?4. javascript - webpack中alias配置中的“@”是什么意思?5. javascript - 使用vue官方腳手架進行單元測試,如何覆蓋到watch里的變量?6. javascript - 為什么創(chuàng)建多行多列的表格最后只有一行內(nèi)有表格7. clone - git sourceTree克隆倉庫時,都不停彈出Password Required彈窗,即時輸入正確的git賬號密碼還是彈出8. 如何用Java向kafka發(fā)送json數(shù)據(jù)9. 主題切換問題,用過別人的webapp在后臺切換模板主題后手機端打開網(wǎng)頁就是切換到的主題了10. html5 - 使用echarts中的圖表 一個頁面導(dǎo)入了好幾個js圖表 實現(xiàn)echarts圖表隨著瀏覽器窗口變化而變化時出現(xiàn)了問題
