This article is about assembly. WampServer 3 Web Server, I will show where to download this assembly, what requirements must be met for installation, and how to install WampServer 3 on the Windows 7 operating system.
To begin with, I would like to say that assembling a web server greatly facilitates the process of creating a platform for developing and testing sites, and is intended mainly for beginner web programmers who do not know how to install and configure individually the components of a full-fledged web server, like we do made in the material "Creating a Web server on Linux CentOS 7.1».
Note!The collection of a web server is not recommended as a platform for hosting sites both on the Internet and in corporate networks, i.e. they are created only for local development and testing. This is a recommendation from the developers of any web server assembly.
There are many builds of the web server, both paid and free, the most popular include: Denwer, Open Server, XAMPP, WampServer. Earlier we have already discussed the assembly of the XAMPP web server, it is free and I really liked it. Its main features: simple installation, implementation for both Windows and Linux, it includes only the most necessary software, as well as an intuitive control panel interface. Today, as an alternative to XAMPP, I propose to consider the assembly of the WampServer web server, which also has a simple installation, the presence of only basic applications, an even simpler, I would even say, rustic control panel (maybe it’s even a minus) Unlike XAMPP, WampServer is implemented only under the Windows operating system (who uses Linux or OS X, this will also be a minus) I’ll say right away that WampServer is a good build, which confirms its popularity, so if you need a combination of Apache, MySQL and PHP on Windows, you don’t need numerous auxiliary (additional) applications, you can safely use the WampServer web server assembly.
So let's get started.
WampServer 3 Web Server Build Overview
Wampserver - This is a free web server assembly, i.e. platform for web development under the Windows operating system. This assembly includes all the necessary software for creating dynamic web applications (sites), namely: Apache web server, PHP programming language, MySQL DBMS and other auxiliary software, for example, phpMyAdmin.
If anyone does not know WAMP, it is an acronym for "Windows, Apache, MySQL and PHP"Ie word consisting of the first letters of the listed applications. There is also LAMP, where L is Linux, and MAMP, where M is Mac OS.
WampServer is available for both 32-bit Windows and 64-bit. Here, the system tray icon acts as a control panel, with the help of which (left click) you can configure the components of the web server (Apache, MySQL, PHP), as well as manage these components, for example, stop, start, or restart them.
Relevant at the time of writing is the version of WampServer 3, which includes the following versions of components (for 32 bit version):
- Apache 2.4.17,
- PHP 5.6.15,
- MySQL 5.7.9,
- phpMyAdmin 4.5.1,
- phpSysinfo 3.2.3,
- SQL Buddy 1.3.3.
Install wamp server on a computer
1. Download wamp on the official website and just run the installer package. After we follow the standard steps of installing the program and click Next.
2. We agree with the license agreement and choose the path where to install the server.
3. Next, click Install and wait for the installation to complete, after completion the server shortcut will appear on the desktop and in the quick launch panel.
All our server is successfully installed, you can use it in your work. Further we will configure it a little, for more convenient work.
Before installing the web client, you need to adjust the configuration of Windows Firewall, indicating the specific ports.
After that, Internet Explorer is configured - this will allow you to download files from extraneous sources.
Before you begin, you will also need to make the necessary library. Turning on Apache will not be possible without The Visual C ++ Redistributable Packages components, you can download them here.
The downloaded library files are located on the computer in “Downloads,” they must be found and run.
To open Wampserver itself, you need to go to a special resource and download Visual C ++ Redistributable for Visual Studio 2012 Update 4.
The program will not work without the WampServer installer.
Downloaded installers will be in the same place - in “Downloads”, they need to be found and opened.
During installation, an indication of the browser used will be required.
As well as a working text editor, for this you can choose the convenient program The Notepad.
After installation, look at the desktop - there you will find the Wampserver64 icon. The server starts with a double click.
After starting, a green icon is displayed on the bottom panel.
To check the server’s operability, enter localhost or your ip address in the browser line.
First, the editor opens the file located at C: wamp64 bin apache apache2.4.23 conf httpd.conf. Run a search on the document and look for “Require local”. On the first entry, you will need to write “all granted” instead of the word “local”.
After saving the changes, you can close the file.
Next, you need to replace the data in the file C: wamp64 bin apache apache2.4.23 conf extra httpd-vhosts.conf. He is responsible for setting up virtual hosts. Instead of “Directory”, write:
Order deny, allow
allow from all
Then close the notebook, after saving the changes.
Next, you will need to restart WampServer. This can be done by right-clicking on the client icon in the tray and selecting “Refresh”.
How to check?
Go to C: wamp64 www and create an index.html notepad there, start a text editor and write text with html code into it. Close notepad after saving.
Next, we take another device and go through the browser at the entered address:
here instead of “ip-address” you need to enter the IP-address of Windows Server 2008, which is determined by the ipconfig command:
This is an example:
How to configure phpMyAdmin
Open a browser and enter the link http: // localhost / phpmyadmin / or open the local WampServer host, go to the main page, menu item "Tools" and the sub-item "phpmyadmin".
In the login column, specify “root”, and the column with the password must be left blank.
When the authorization passes, you can change the password settings and add other users. This is done in the Accounts section.
To add users, click on "Add user account." And if you select “Edit privileges”, it is possible to change passwords using the “Change password” link.
At the end, the page is saved and WampServer restarts with the Refresh command from the context menu in the tray.
Where to download WampServer 3?
You can download the WampServer 3 web server assembly from the official WampServer website, here is the link http://www.wampserver.com/en/
After you go to the site, go to the download section and select the version to download, for example, I will download WampServer 3 for the 32-bit version of Windows.
Then a warning window will open where we need to click on the link “download directly».
The download will begin and the file "wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15.exe”Size of 67.8 MB, which we will use to install the assembly.
Requirements for Installing WampServer 3
Before proceeding with the installation, you need to make sure that your operating system meets all the requirements for installing WampServer 3, namely:
- WampServer 3 cannot be installed on top of previous versions, i.e. check if any version of WampServer is installed on your system (Control Panel-> Programs and Features),
- Windows version should be higher than Windows XP and Windows Server 2003, i.e. WampServer 3 cannot be installed on Windows XP and Windows Server 2003,
- On Windows, the Microsoft Visual C ++ Redistributable Package 2012 and 2015 redistributable packages must be installed. They are needed for the components included in the WampServer 3 assembly to work. If they are not, the corresponding errors will appear during installation (for example, missing VCRUNTIME140.dll or MSVCR110.dll), in more detail about such errors and how to install these redistributable packages, we talked in the material “Description and installation of Microsoft Visual C ++ Redistributable Package 2015»,
- It is recommended to install WampServer 3 in the “wamp” folder in the root of the disk, for example, “C: wamp” or “D: wamp” and it is not recommended to install it in a folder that has spaces in its name.
- It is also recommended that during installation, close Skype and disable IIS (if they are running).
Installing WampServer 3 on Windows 7
I will install WampServer 3 on the Windows 7 operating system.
We launch the downloaded file, and we get to the menu for choosing the language of the installation program, alas, there is no Russian, so immediately click "OK».
Next, the welcome window, click "Next».
Then we agree with the terms of the license agreement, select "I accept the agreement"And click"Next».
Then an information window will open containing the requirements for installation, click "Next».
Next, select the installation folder, leave the default and click "Next».
In the next window, we also leave the default name, click "Next».
Then we can tick "Create a desktop icon"So that the shortcut for launching WampServer appears on the desktop, click"Next».
Everything is ready for installation, click "Install».
The following messages will appear during installation.
In this case, we are told that Internet Explorer will be used as the default browser for WampServer, and if this does not suit us, we can specify the browser we need by clicking the "Yes"But if it suits us, click"No". I press "No».
And in this case, we are asked to indicate an alternative text editor, by default Notepad (standard notepad windows) I press "No", I.e. he will suit me.
Another informational message will appear, it will indicate that to connect to MySQL using phpMyAdmin, you must specify root login without password, but after the first connection, it is recommended to set a password for this user, click "Next».
Everything, the installation is completed, leave a tick "Launch wampserver", If we want to start WampServer right away, click"Finish».
As a result, a shortcut will appear on the desktop, and in the system tray icon and if it is green, it means that all services are running. In order to open the menu, left-click on the tray icon.