WampServer modify the port and menu Localhost, _ PHP Tutorial

Source: Internet
Author: User
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 ;...

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.