WAMPServer integrated environment download and installation
1. W: windows, A: Apache 3. Install WampServer: Double-click the installation package → Run → Next → I accept → Next → Directory → Next → Next → Install → No → Next → Finish
4. Test whether the installation is successful: Open the browser → Enter localhost →Enter→The WampServer information appears successfully
Software icon:
Enter localhost and press Enter:
Right-click the icon to change the language. Can be modified to Chinese.
【】Modify the website directory to your own project directory instead of the www directory.
ModifyApache
ctrl+f search
Enter documentroot
For example, if our project is in the demo folder of drive F, then we can change it like this
Modify the file here:
Modify this
Save and close.
Restart the web service.
Modifications to the configuration file require restarting the server.
Test whether it is successful Modify:
In F:/demo
The content is:
at Enter localhost/test.php in the browser
Success! !Look at the WWW directory.
In the installation directory:
Open. Search: menu.left or search directly: "www directory"
:
item
Caption<span></span>:<span></span>"www directory"<span> </span>;<span> </span>Action<span></span>:<span></span> shellexecute<span></span>;<span></span>FileName<span></span>:<span></span>"D:/wamp/www"<span></span>;<span></span>Glyph<span></span>:<span></span>2<span></span><span> </span><span></span> modified to: <span><p></p>
<p></p>
<ol><li><code><span>Type</span><span>:</span><span> item</span><span>;</span><span>Caption</span><span>:</span><span>"demo directory"</span><span>;</span><span>Action</span><span>:</span><span> shell execute</span><span>;</span><span>FileName</span><span>:</span> <span>"F:/demo"</span><span>;</span><span>Glyph</span><span>:</span><span>2</span>
Modify again:
Notepad opens;
Search menu.left There are multiple menus .let)
Modification:
<span>Type</span><span>:</span><span> item</span><span>;</span><span>Caption</span><span>:</span><span>"${w_wwwDirectory}"</span> <span>;</span><span>Action</span><span>: </span><span> shellexecute</span><span>;</span><span>FileName</span><span>:</span><span>"${wwwDir}"</span><span>;</span><span>Glyph</span><span>:</span><span>2</span>
is:
<span>Type</span> <span>:</span><span> item</span><span>;</span><span>Caption</span><span>:</span><span>"demo directory"</span><span>;</span><span>Action</span><span>:</span><span> shellexecute</span><span>;</span><span>FileName</span> <span>:</span><span>"F:/demo"</span> <span>;</span><span>Glyph</span><span>:</span><span>2</span>
Stop all servers and exit.
Opening the server.
Modification successful.
The above introduces the download and installation of the WAMPServer integrated environment, including Apache content. I hope it will be helpful to friends who are interested in PHP tutorials.