conf - 關(guān)于設(shè)置apache配置文件!求解!
問(wèn)題描述
為什么啟動(dòng)不了,而報(bào)錯(cuò)!我試了很多次了,其它都沒(méi)有問(wèn)題。如果注譯這2行是可以正常啟動(dòng)的apache的。我安裝的是xampp-win32-1.8.2-3-VC9-installer.exe環(huán)境,php5apache2_2.dll是它在php目錄下原先存在的,沒(méi)有另外下載。PHPIniDir也嘗試過(guò)修改為D:/xampp/php/php.ini,但也同樣不能啟動(dòng)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
問(wèn)題解答
回答1:如果沒(méi)有php相關(guān)配置行正確的好,那端口方面應(yīng)該沒(méi)有錯(cuò)誤。建議現(xiàn)運(yùn)行apachectl -t ,看看配置文件的檢查結(jié)果。
另外,截圖中的PHPIniDir設(shè)置明顯不對(duì),文件名稱中少了.ini的后綴名。
=================
apachectl的路徑是:/Applications/xampp/xamppfiles/bin/apachectl
相關(guān)文章:
1. javascript - 在 vue里面用import引入js文件,結(jié)果為undefined2. html - 爬蟲(chóng)時(shí)出現(xiàn)“DNS lookup failed”,打開(kāi)網(wǎng)頁(yè)卻沒(méi)問(wèn)題,這是什么情況?3. 求教一個(gè)mysql建表分組索引問(wèn)題4. 小程序怎么加外鏈,語(yǔ)句怎么寫(xiě)!求救新手,開(kāi)文檔沒(méi)發(fā)現(xiàn)5. html5 - input type=’file’ 上傳獲取的fileList對(duì)象怎么存儲(chǔ)于瀏覽器?6. 求救一下,用新版的phpstudy,數(shù)據(jù)庫(kù)過(guò)段時(shí)間會(huì)消失是什么情況?7. python沒(méi)入門,請(qǐng)教一個(gè)問(wèn)題8. php如何獲取訪問(wèn)者路由器的mac地址9. node.js - 用nodejs 的node-xlsx模塊去讀取excel中的數(shù)據(jù),可是讀取出來(lái)的日期是數(shù)字,請(qǐng)問(wèn)該如何讀取日期呢?10. javascript - 我的站點(diǎn)貌似被別人克隆了, google 搜索特定文章,除了域名不一樣,其他的都一樣,如何解決?
