WampServer modify port and menu Localhost

WBOY
Release: 2016-08-08 09:24:24
Original
961 people have browsed it
1. Modify the Apache port 1. Select Apache in the interface, pop up the hidden menu option, and open the configuration file httpd.conf; 2. Find Listen 80; 3. Change 80 to 8080 (of course You can also set other unused ports);4. Save and wait until the Wamp service is restarted. 2. Modify Wamp to open the default page Localhost and the port of phpMyadmin 1. Open the wampmanager.tpl file in the wamp directory 2. Find Parameters: "http: //localhost/"; Glyph: 5Parameters: "http://localhost/phpmyadmin/"; Glyph: 5 3. Change to Parameters: http://localhost:8080/; Glyph: 5Parameters: "http://localhost: 8080/phpmyadmin/"; Glyph: 5After making the changes, you need to exit Wamp and reopen the startup configuration to take effect. If I start to restart the service directly, it will be useless. 3. Change the default password of phpmyadmin 1. Enter the phpmyadmin folder under Wamp/apps under the installation drive letter 2. Open the config.inc file 3. Find $cfg[' Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = 'Fill in your password here';4. Modify your password and save it. 4. How to configure and change the Apache homepage file name When you enter for example http://localhost , Apache will open the index.html file by default. If you want to modify the homepage file or add a homepage file , open httpd.conf, find DirectoryIndex index.html, and modify index.html to the file name you want, such as test.php. If you want to add multiple homepage files, you can separate them with spaces. The order of the files is the priority of reading the homepage files. Restart the Apache service after modification! » Link to this article: Wu Wenhui’s blog» http://www.wuwenhui.cn/3047.html

The above introduces the WampServer modification port and menu Localhost, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!