First, you must run the PHP project with the following powerful tools:
1. Servers
Wamp (my version is wamp5_1.7.4)
2. Development Tools
EPP (my version is eclipsephp Studio 3)
Modify the default Apache port 80 and WWW directory of Wamp
For example, modify port 8088 and the d:/workphp directory.
<! -- [If! Supportlists] --> 1. Change to port 8088.
Left-click the tray icon. In "Apache", you can directly open httpd. conf and find "Listen 80". You can change it to another port. I chose 8088.
Restart Wamp to take effect. However, you can click "localhost", "phpMyAdmin", and "sqlitemanager" to open the default port 80. Find the wampmanager. TPL file in the Wamp installation directory, and open it in Notepad:
Add port 8088 after localhost, save, exit, and re-open Wamp to take effect. (In fact, similar URL addresses in the wampmanager. ini file are also changed)
2. Change it to the D:/workphp directory.
(1) the httpd. conf file of Apache needs to be modified. There are two modifications.
Create a TXT file in the Directory D:/workphp and write some content. Restart Apache to view the TXT content in http: // localhost: 8088. However, the WWW directory still points to the default location. Modify the wampmanager. TPL and wampmanager. ini files in the Wamp installation directory.
(2) modify the wampmanager. TPL file as follows:
Modify the wampmanager. ini file as follows:
Through the above modification, we can find that port 8088 can be used, and the localhost, phpMyAdmin, and sqlitemanager points correctly, and the WWW directory also points to the location we want to set.
References: (1) http://bbs.php100.com/read-htm-tid-48600.html
(2) http://konglx.javaeye.com/blog/507762