Popularize, Wamp for the Windows Next button installation of the deployment of the PHP development environment, including (MySQL Apache PHP phpMyAdmin.
This post references: http://blog.csdn.net/jj455909186/article/details/39253923
= = Original post content start = =
installation directory G:/wamp/www
Now you want to change to d:/wamp/www
First Find G:\wamp\bin\apache\apache2.4.9\conf\httpd.conf
Approximately 230 lines modified to DocumentRoot "d:/wamp/www/"
Approximately 252 lines modified to <directory "d:/wamp/www/" >
Find G:\wamp\www\index.php
Change about 40 lines to
$server _dir = "d:/wamp/";
Fonctionneàcondition d ' avoir serversignature on et servertokens full dans httpd.conf
$server _software = $_server[' server_software ');
$wampConfFile = $server _dir. ' Wampmanager.conf ';
//chemin jusqu ' aux fichiers alias
$aliasDir = $server _dir. ' alias/';
Find G:\wamp\wampmanager.ini
Change about 294 lines to
Type:item; Caption: "www.?"; Action:shellexecute; FileName: "d:/wamp/www"; Glyph:2
Find G:\WAMP\WAMPMANAGER.TPL
Change about 138 lines to
Type:item; Caption: "${w_wwwdirectory}"; Action:shellexecute; FileName: "d:/wamp/www"; Glyph:2
Attached: Modifying MySQL's Data directory
G:\wamp\bin\mysql\mysql5.6.17\my.ini
Change about 38 lines to datadir=d:/wamp/bin/mysql/mysql5.6.17/data
Finally save, restart the related services will be able to
= = = Original post content end = =
Add:
1. Modify default port mode 8088
Find the G:\wamp\bin\apache\apache2.4.9\conf\httpd.conf file (note: Do not directly from the lower right corner of the Wamp menu to open the file, open after it is not set, know why can help reply to add)
62 lines (or search 80) modify Listen 0.0.0.0:80 to Listen 0.0.0.0:8088
Line 63 (or search 80) will Listen [:: 0]:80 revision to Listen [:: 0]:8088
2. In the installation of the pop-up dialog box to fill in the mailbox and stmp information, if you do not need to use PHP native Send email method, you can keep the default. (That's what the translator says)
3.wamp2.5 installation package, http://yunpan.cn/cmYH9T5SmvPB4 access password 67c9
4. If you are prompted Msvcr110.dll not found, please download http://www.microsoft.com/en-us/download/details.aspx?id=30679 First
32-bit system download vsu_4\vcredist_x86.exe Cloud Disk Address: Http://yunpan.cn/cmYLVS2CGFwZL access password 1cb3
64-bit system download Vsu_4\vcredist_x64.exe
Windows installation Wamp Summary modify default port modify default directory