The solution to restart error of apache in php configuration
Xiaobian to share with you the php configuration apache restart error solution, I believe most people do not know how, so share this article for your reference, I hope you read this article after a great harvest, let us go to understand it!
PHP configuration apache restart error solution: 1, find the "cmd.exe" file;2, run "(A) cmd.exe" as an administrator;3, open apache service;4, use Service.msc to check whether apache service is started.
Operating environment: Windows 7 system, PHP 7.1 version, DELL G3 computer
How to configure apache restart error php?
Apache configuration php project after starting apache service error resolution
When starting apache service according to E:\Apache2.4.12\bin\httpd.exe -k install command, the following error is reported:
The reason for the failure to establish the service is that the service has not been started as an administrator. The solution is as follows
1. Find the cmd.exe file, usually at C:\Windows\System32\cmd.exe(this is the case on my computer).
2. Then run (A) cmd.exe as an administrator.
3. Then click E:\Apache2.4.12\bin\httpd.exe -k install on the command line to activate apache service, as shown below:
4. Use Service.msc to check whether the apache service is started, as shown below:
The above is "php configuration apache restart error solution" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!