今天PHPStudy中Apache突然出現(xiàn)啟動(dòng)后自己關(guān)閉非常的奇怪。
通過找到PHPStudy中Apache的bin目錄在cmd運(yùn)行httpd.exe -t 查看一下報(bào)錯(cuò)信息
錯(cuò)誤提示信息:
httpd: Could not open configuration file D:/phpstudy/PHPTutorial/Apache/conf/httpd.conf: \xcf\xb5\xcd\xb3\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xce\xc4\xbc\xfe\xa1\xa3
解決方案見下圖

image.png
這問題困擾我一上午終于解決在此記錄一下錯(cuò)誤
參考原文地址:https://www.cnblogs.com/xgzyg/p/10380725.html