Modify the port and menu Localhost on WampServer ,. Modify the port and menu Localhost on WampServer. 1. modify Apache port 1. select Apache on the interface. the hidden menu option is displayed. open the configuration file httpd. conf; 2. find Listen80; WampServer to modify the port and Localhost,
1. modify the Apache Port
1. select Apache on the page, and the hidden menu option is displayed. open the configuration file httpd. conf;
2. find Listen 80;
3. change 80 to 8080 (of course, you can set another unused port );
4. Save the settings. wait until the Wamp service is restarted.
2. modify the Wamp to open the Localhost and phpMyadmin ports on the hosts page.
1. open the wampmanager. tpl file in the wamp directory.
2. find
Parameters: "http: // localhost/"; Glyph: 5
Parameters: "http: // localhost/phpmyadmin/"; Glyph: 5
3. change
Parameters: http: // localhost: 8080/; Glyph: 5
Parameters: "http: // localhost: 8080/phpmyadmin/"; Glyph: 5
After the modification, you need to exit Wamp and re-enable the startup configuration to take effect. it is useless to restart the service directly.
3. modify the default phpmyadmin password
1. go to the phpmyadmin folder under Wamp/apps on the installation drive.
2. open the config. inc file.
3. find
$ Cfg ['servers'] [$ I] ['user'] = 'root ';
$ Cfg ['servers'] [$ I] ['password'] = 'Enter your password' here ';
4. modify your password and save it.
4. how to configure and change the Apache homepage file name
When you enter http: // localhost, apachewill open the index.html file. if you want to modify the homepage file or add a homepage file, open httpd. conf, find DirectoryIndex index.html, and modify index.html. you just need the file name, such as test. php. If you want to add multiple homepage files, they can be separated by spaces. the order before and after the files is the priority for reading the homepage files. Restart the Apache service after modification!
»Link to this article:Wu Wenhui Blog» http://www.wuwenhui.cn/3047.html
Modify, 1. modify Apache port 1. select Apache on the interface, and the hidden menu option is displayed. open the configuration file httpd. conf; 2. find Listen 80 ;...