Troubleshooting of XAMPP port occupation

Source: Internet
Author: User
: This article mainly introduces how to solve the problem of XAMPP port occupation. if you are interested in the PHP Tutorial, refer to it. When XAMPP was used a few days ago, the following error was suddenly reported and cannot be started.

Error:

17:05:33 [Apache] Error: Apache shutdown unexpectedly.17: 05: 33 [Apache] This may be due toa blocked port, missing dependencies, 17:05:33 [Apache] improper privileges, a crash, ora shutdown by another method.17: 05: 33 [Apache] Check the "/xampp/apache/logs/error. log "file17: 05: 33 [Apache] andthe Windows Event Viewer for more clues

In fact, this problem is that the port is occupied. The following is the modification method.

Modify two ports by yourself:
1. go to \ xampp \ apache \ conf in this directory, open httpd. conf, and change all port 80 to an unused port, such as 8001.

2. go to this directory \ xampp \ apache \ conf \ extra, open the httpd-ssl.conf, replace all port 443 in the file with an unused port, such as 4431

After I modify the port, the problem of port conflict is solved. I hope it will be helpful to you ~

'). AddClass ('pre-numbering '). hide (); $ (this ). addClass ('Has-numbering '). parent (). append ($ numbering); for (I = 1; I <= lines; I ++) {$ numbering. append ($ ('
  • '). Text (I) ;}; $ numbering. fadeIn (1700) ;}) ;}; script

    The above describes how to solve the problem of XAMPP port occupation, including some content, and hope to help friends who are interested in PHP tutorials.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.