Home > Article > Web Front-end > How to install WampServer and solve installation problems
WampServer installation process: Download the program, select the installation path, the installation is completed, enter localhost in the address bar to open the interface; problem solving methods include: setting the port number, downloading missing files, etc.
WampServer is the Windows Apache Mysql PHP integrated installation environment and has a simple installation and configuration environment. There is no need to modify the configuration file yourself, and it supports multiple languages and one-click installation; starting, stopping the service and restarting are very simple. It also supports phpmyadmin and SQLiteManager, so you don’t need to enter complex SQL statements to manage the MYSQL database, directly It can be managed from phpmyadmin. Next, in the article, I will introduce in detail the installation process of WampServer and how to solve the problems that arise during the installation.
Installation steps:
(1) Download software
Download address: https://sourceforge.net/projects/wampserver/
(2) Open the installation package and start the installation process
Select to agree to the installation, Click Next
#Choose the installation path. You can choose the installation path yourself, or you can choose the default path (default is selected in this case)
Click next to continue the installation
The installation is complete, click finish
(3) Start the program
Open the program, in the lower right corner of the desktop, open and select the language, click Start, the program will start running
Open the www folder and create a folder below to store the code (create a new ajax folder)
Enter "localhost" in the browser address bar to open
At this step, the program installation is over, and we can start writing our code.
Frequently asked questions and solutions to program installation
1. Port conflict: 80
Method 1: Stop the IIS service: Computer---Management- -Services and Applications--Services--Stop Service
Method 2: Modify the wamp port: find port 80 in the httpd.conf file and change it to another port
2. msvcr100 is missing during installation. dll
Download link: http://diybbs.zol.com.cn/1/34187_3334.html
Download it locally and put it in the system, pay attention to the storage path
(1) 32-bit: dll is placed in \windows\system32
(2) 64-bit system needs to store two files, one 32 and one 64
32-bit is placed in \windows\syswow64 ,
64-bit is placed in \windows\system32
3. Use wamp to open and enter localhost, but the folder in localhost cannot be opened
Open the index under the www folder. php file, search suppress_localhost? Just add localhost/ to http:// at the end
while (($file = readdir($handle))!==false) { if (is_dir($file) && !in_array($file,$projectsListIgnore)) { //[modif oto] Ajout éventuel de http:// pour éviter le niveau localhost dans les url $projectContents .= '<li><a href="'.($suppress_localhost ? 'http://localhost/' : '').$file.'">'.$file.'</a></li>'; } }
Summary: The above is the entire content of this article, I hope it will be helpful to everyone's learning.
The above is the detailed content of How to install WampServer and solve installation problems. For more information, please follow other related articles on the PHP Chinese website!