Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to restart error of apache in php configuration

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report