Wampserver modify port and menu localhost

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

  • 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.