First, modify the Apache port
1, select Apache in the interface, Pop-up hidden menu options, open the configuration file httpd.conf;
2. Find Listen;
3, change 80 to 8080 (of course, you can also set other unused ports);
4, save, waiting to restart Wamp service can be.
Second, modify Wamp open the default page ports for Localhost and PhpMyadmin
1. Open the Wamp directory under the Wampmanager.tpl file
2. Find
Parameters: "http://localhost/"; Glyph:5
Parameters: "http://localhost/phpmyadmin/"; Glyph:5
3. Change into
parameters:http://localhost:8080/; Glyph:5
Parameters: "http://localhost:8080/phpmyadmin/"; Glyph:5
After the change to exit Wamp, re-open the boot configuration will not take effect, I started to restart the service directly useless.
Third, modify the default password of phpMyAdmin
1. Enter the phpMyAdmin folder under Wamp/apps under installation letter
2. Open Config.inc File
3. Find
$cfg [' Servers '] [$i] [' user '] = ' root ';
$cfg [' Servers '] [$i] [' password '] = ' Fill in your password here ';
4, modify your password, save can.
Iv. How to configure change Apache home file name
When you enter for example http://localhost , Apache will default to open the Index.html file, if you want to modify the home page file or add home file, open httpd.conf, find DirectoryIndex index.html, modify index.html for the file name you want, such as test.php. If you want to add more than one home file, can be separated by a space, the pre-and post-file order is the first page file read priority. Restart Apache service after modification!
» This article link: Wu Wenhui blog » http://www.wuwenhui.cn/3047.html
The above describes the Wampserver modified port and menu localhost, including aspects of the content, I hope the PHP tutorial interested in a friend helpful.