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