Home >Web Front-end >JS Tutorial >How to install WampServer and solve installation problems

How to install WampServer and solve installation problems

清浅
清浅Original
2018-11-30 11:14:397836browse

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.

How to install WampServer and solve installation problems

Installation steps:

(1) Download software

Download address: https://sourceforge.net/projects/wampserver/

Image 4.jpg

(2) Open the installation package and start the installation process

Select to agree to the installation, Click Next

How to install WampServer and solve installation problems

#Choose the installation path. You can choose the installation path yourself, or you can choose the default path (default is selected in this case)

How to install WampServer and solve installation problems

Click next to continue the installation

How to install WampServer and solve installation problems


The installation is complete, click finish

How to install WampServer and solve installation problems

(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

How to install WampServer and solve installation problems

Open the www folder and create a folder below to store the code (create a new ajax folder)

How to install WampServer and solve installation problems

Enter "localhost" in the browser address bar to open

How to install WampServer and solve installation problems

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 .= &#39;<li><a href="&#39;.($suppress_localhost ? &#39;http://localhost/&#39; : &#39;&#39;).$file.&#39;">&#39;.$file.&#39;</a></li>&#39;;
}
}

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn