Apache 错误:httpd: Could not open configuration file

今天PHPStudy中Apache突然出现启动后自己关闭非常的奇怪。
通过找到PHPStudy中Apache的bin目录在cmd运行httpd.exe -t 查看一下报错信息
错误提示信息:

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

解决方案见下图

Apache 错误:httpd: Could not open configuration file_第1张图片
image.png

这问题困扰我一上午终于解决在此记录一下错误
参考原文地址: https://www.cnblogs.com/xgzyg/p/10380725.html

你可能感兴趣的:(Apache 错误:httpd: Could not open configuration file)