1. WAMP Introduction
- W refers to the Windows Runtime environment.
- A refers to the Apache server.
- m refers to MySQL database etc...
- P refers to PHP or Python server language and environment.
2. Download Wamp and Visual C + + redistributable (vcredist_x64/86.exe), Wamp relies on the Visual C + + redistributable environment.
3. Configure Apache
- Modify the./wamp/bin/apache/conf/httpd.conf, modify the servername.
4. Add alias, method one
- Left-click Wamp--Apache--and alias directory.
- Pop-up terminal window, first enter the project name, carriage return.
- Re-input, project source code directory address, such as: D:/workspace/wordpress (PS: "/" backslash)
PS: The project directory is placed in another location (not in the Wamp directory), Wampserver prompts you that you do not have the permission to access/wordpress/on the this server.
1 alias/wordpress/"d:/workspace/wordpress/"2 3 <Directory"d:/workspace/wordpress/">4 Options Indexes followsymlinks multiviews5 allowoverride All6 Order Allow,deny7 allow from all8 </Directory>
Compare with phpsysinfo.conf file
1 alias/phpsysinfo "d:/wamp/apps/phpsysinfo3.1.12/"2 3 # to give access to phpmyadmin from outside4 # Replace the lines5 #6 # Require Local7 #8 # by9 #Ten # Require All granted One # A - <Directory"d:/wamp/apps/phpsysinfo3.1.12/"> - Options Indexes followsymlinks the allowoverride All - <IfdefineAPACHE24> - Require Local - </Ifdefine> + <Ifdefine! APACHE24> - Order Deny,allow + Deny from all A Allow from localhost:: 1 127.0.0.1 at </Ifdefine> - </Directory>
found that wordpress.conf directory tags are missing Require Local statement.
Add and restart Apache.
Wamp Installation and Configuration