Resolving xampp Port conflicts

Source: Internet
Author: User

Today the computer presses a bit xampp, the result runs Wamp when, the following situation appears:

Check the Internet, the result is that the port is occupied, and then I manually modified it.

1. Modify the port number of the XAMPP

Find: Xampp's installation directory (e.g. D:\XAMPP) \apache\conf\httpd.conf, open httpd.conf with tools such as Notepad or Notepad,

or the XAMPP page opens directly,

When you double-click Open, Ctrl+f searches for listen and modifies port 80 to 8081

After the modification, search the server and change localhost to 8081

After the modification, let's start again and see if it's okay,

2. Modify the Xampp file root directory: or open httpd.conf, in the inside Ctrl+f search document, change it to your own desired file directory.

3. Use Dreamweaver to create a new site, open xampp Apache, write a test.php page, test for success

test.php

1 <? PHP 2 Phpinfo (); 3 ?>

This can happen, such as:

4. When using SQLyog, open xampp MySQL, because there is no change to the database related things, so the normal connection is OK,

Resolving xampp Port conflicts

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.