We will going to Installing OpenServer but before this we should know about What is openServer ?
OpenServer contains many programs necessary for website development, and allows you to conveniently manage them.
In particular, OpenServer contains Apache and Nginx web servers (read as “Engine X”), MySQL and PostgreSQL DBMS. Their versions, as well as the version of PHP itself, are easily switched in the control panel.
OpenServer is one of the most popular builds of software for web developers. It’s user-friendly, intuitive, and great for beginners.
But this is not the only such product. There are a lot of analogues and the most popular of them are XAMPP and AMPPS.
Please don’t use Denwer. Once it was a great tool, but by now it is very outdated and there is no point in using it.
You can download OpenServer from the official site in the “Download” section.
Regarding the version, Basic is enough for a start, but in the future you will probably want to work with the Git version control system, which is only in the Premium version. Therefore, I recommend choosing Premium right away, so as not to waste time on migration later.
When downloading, the creator of OpenServer asks for a voluntary donation for the benefit of the project. If this is not done, the download speed will be significantly reduced. You can, of course, download OpenServer via torrents, but you need to be careful – viruses are often embedded there.
So, let’s start the installation.
Running the OpenServer installation
Choosing an installation location. You do not need to create an OpenServer folder, it will be created by itself. Those. if you specify D: \ , then OpenServer will be installed to D: \ OpenServer \ .
Specifying the folder to unpack OpenServer
After installation, several folders and 2 files with green icons will appear in the OpenServer folder. Run the file corresponding to your operating system (x86 for 32-bit OS, x64 for 64-bit).
If you don’t know the bit depth, try running both files. Whichever one does not show an error is the one needed. 🙂
OpenServer installed folder
Select your language and confirm the installation of Microsoft Visual C ++ (may take a few minutes).
Language selection and installation of MS Visual C ++
This completes the OpenServer installation.
After installation, the OpenServer icon will appear at the bottom right of the screen as a red or green flag. Go to Settings -> Modules .
Here we are only interested in 2 parameters: HTTP (web server) and PHP. If you are just starting to learn PHP, I recommend choosing the latest versions of PHP and the Apache web server (just that, no Nginx).
OpenServer Settings Menu
After saving the settings, click the red checkbox and select Run . OpenServer will start or give an error.
To make sure the installation is correct, enter localhost / in your browser . If you see the OpenServer start page, then everything is in order.
OpenServer successful installation message
It is very easy to create websites. Go to the domains folder and create a folder with the site name, for example test .
The domains folder in OpenServer
Reboot the server (click on the checkbox and the Restart button ).
Create folder and restart OpenServer
Now create an index.html file in the test folder , write any text in it and enter test / in the browser (with a slash at the end so that the browser understands that this is a domain name, not a search query).
If you see the contents of the index.html file , then everything is working correctly.
OpenServer must run as administrator and have access to the hosts file ( C: \ Windows \ System32 \ drivers \ etc \ hosts for Windows 7).
If OpenServer says that the 80th port is busy, most likely the matter is in the Skype settings. Go to Settings -> Advanced -> Connection and uncheck the “Use ports 80 and 443.
Disable port 80 in Skype before installing openserver
If it did not work, it is possible that other assemblies (Denwer, AMPPS, etc.) are installed on the computer that block the 80th port. If so, you need to change the port used in the settings of one of the programs.
If you are using Windows Server, you must disable all Internet Information Services (IIS).