Modify Wamp's Apache default port 80 and www directory
Take the example of modifying the 8088 port and the d:/workphp directory.
Left-click Tray icon, in "Apache" can directly open httpd.conf, find to "Listen 80", can be changed to other ports, I choose 8088.
Restart the Wamp, it will be effective. But "Localhost", "PhpMyAdmin", "Sqlitemanager", you can click Open to see still the default port 80. Locate the Wampmanager.tpl file in the Wamp installation directory, and Notepad opens:
Add 8088 port after localhost, save, exit and reopen wamp in effect. (In fact, a similar URL address in the Wampmanager.ini file changes as well)
(1) Need to modify Apache httpd.conf file, there are 2 changes
In the d:/workphp directory to build a TXT file, write something, restart Apache is seen in the http://localhost:8088, txt content. But the WWW directory still points to the default location. This requires modifying the WAMPMANAGER.TPL and Wampmanager.ini files in the Wamp installation directory.
(2) Wampmanager.tpl file, modify the following
< span="">
Wampmanager.ini file, modify the following
Through the above changes, you can find that port 8088 can be used, and localhost, phpMyAdmin, Sqlitemanager points are correct, the WWW directory also points to the location we want to set.
Reference: (1) http://bbs.php100.com/read-htm-tid-48600.html
(2) http://konglx.javaeye.com/blog/507762
http://www.bkjia.com/PHPjc/743384.html www.bkjia.com true http://www.bkjia.com/PHPjc/743384.html techarticle Modify Wamp's Apache default port 80 and the WWW directory to modify the 8088 port and d:/workphp directory as an example. Left-hand tray icon, in Apache can directly open httpd.conf, find to listen ...