Home  >  Article  >  Operation and Maintenance  >  What to do if apache fails to start

What to do if apache fails to start

藏色散人
藏色散人Original
2019-09-29 10:53:239001browse

What to do if apache fails to start

What should I do if apache fails to start?

The failure to start the apache server is usually caused by the program port being occupied. The solution is as follows:

Open the [Start Menu] in the lower left corner and find all programs - attachments , then find [Command Prompt] and open it.

What to do if apache fails to start

Enter the command line interface and enter the [netstat -ano] command to view the current port usage and observe the PID of the software port.

What to do if apache fails to start

Then right-click on the taskbar and select the Task Manager option to enter the Task Manager interface.

What to do if apache fails to start

Enter the task manager interface, find the [Service] option, click the PID below, and in the PID list, find the PID occupying the software port number just recorded in CMD. Turn it off.

What to do if apache fails to start

For more Apache related knowledge, please visit the Apache usage tutorial column!

The above is the detailed content of What to do if apache fails to start. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn