apache2.4 cannot be started, error (20024)
伊谢尔伦
伊谢尔伦 2017-05-16 17:03:08
0
3
898

Order:
Go to the bin directory of Apache and enter httpd.exe -k start (if there is no -k start, no information will pop up and it will not end)
error message:
(20024)The given path is misformatted or contained invalid characters: AH00532: Inval
id config file path \xe2\x80\x9cC:\apache24\conf\httpd.conf

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(3)
Peter_Zhu

Is the path name in Chinese, and the decoding format of the command line is different

为情所困

From the error message, it appears that the path to the configuration file is incorrect.
It may be that the path under win is inconsistent with the path under Linux.

Peter_Zhu

Finally I found out that I was wrong when setting up the service and the right thing is

httpd.exe -k install -n "Apache2.4" -f "c:\apache24\conf\httpd.conf"

But it turns out that I copied it online, and there is a lower quotation mark missing, while the upper quotation marks are still in Chinese, that is:

httpd.exe -k install -n "Apache2.4" -f “c:\apache24\conf\httpd.conf

I reported the error in the question. Open cmd with administrator rights, sc delete apache2.4 delete the original service and create a new correct service to start

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template