Denwer - your local web server: installing and configuring Denwer. Install Denver What is Denver Local Server

One of the most popular sets of components for creating a local server (localhost) on a Windows computer. DENWER is called the "Gentleman's Web Developer Kit". Allows you to develop and test websites in HTML, PHP, and MySQL.

DENWER 3 allows you to deploy a full-fledged server on your home computer for creating and configuring websites.

The main task of this distribution is to start a working server as quickly as possible and without deep knowledge of server administration.

The main features of DENWER 3:

  • Denver is installed in a single directory and doesn't change anything outside of it. He does not write files to the Windows directory and does not "crap" in the Registry. If you wish, you can even put yourself two Denvers at once, and they will not conflict.
  • No NT / 2000 "services" are "registered". If you run Denver, then it works. If completed, it stops working, leaving no traces behind.
  • The system does not need an uninstaller - just delete the directory.
  • Once you've installed Denver, you can then simply overwrite it on other machines (on an arbitrary disk in an arbitrary directory). This will not lead to any side effects.
  • All configuration and adjustment for a specific machine occurs automatically.

The DENWER 3 distribution kit includes:

  • Installer (installation on a flash drive is also supported).
  • Apache, SSL, SSI, mod_rewrite, mod_php.
  • PHP5 with support for GD, MySQL, sqLite.
  • MySQL5 with transaction support.
  • A template-based virtual host management system. To create a new host, you only need to add a directory to the / home directory, you do not need to edit configuration files. By default, many popular hosters' directory naming schemes are already supported; new ones can be easily added.
  • Start-up and shutdown control system for all Denver components.
  • phpMyAdmin is a web-based MySQL management system.
  • Emulator of sendmail and SMTP-server (debug "stub" on localhost: 25, putting incoming letters in / tmp in .eml format); work together with PHP, Perl, Parser, etc. is supported.

Greetings, dear readers of this blog. There are many services and programs in site building that web developers know about, but beginners who are just starting their way in that direction do not know. Specifically, what is Denver and why do we need it?

Denver is a suite of programs for creating and debugging sites directly on a local computer, which does not need to be connected to the Internet for this purpose. This project was developed by our compatriots, its author is Dmitry Koterov.

Denver's main idea is to collect and integrate all the necessary tools to create websites in one place, thus making the hard work of a Web developer easier. The name of the program itself is not simple, it comes from the abbreviation for the first letters of the phrase Gentlemen's set of a Web developer.
It turns out "D.N.w.r." (DNVR), which can be read as Denver.

Running Denver is a local web server that can host many sites. They will be available only from this particular computer, users of the World Wide Web will not see them.

What is a server on a local computer for?

A regular static page written in HTML can be opened directly from disk. For everything else, however, a server is required.
Scripts and simplest directives won't start without it SSI.

The created site needs mandatory debugging. You can of course also do this on a remote web server. To begin with, upload the corrected pages to it via FTP, see what happened, correct ... and so on in a circle. And at the same time, you need to be connected to the Internet all the time and it is desirable that the connection be good.
The local server allows "Transfer" a remote server to a local machine and perform all these operations without leaving the checkout.

Denver grade

The main assembly package includes the following programs:

  • Apache is a web server;
  • PHP interpreter;
  • Perl core, base. Libraries for it are available separately;
  • MySQL - DBMS; (Database)
  • phpMyAdmin - admin panel;

as well as installer, launch system, shutdown system, host management system, mail agent emulator.
It takes a lot of painstaking work to assemble and install all this "kitchen" piece by piece. Denver does it all for you.

The virtues of Denver

  • Ability to create and debug the site without buying a hosting
  • Ready configured assembly of all necessary programs
  • Ease of installation and removal, complete autonomy
  • Small size of the base installation package. This is achieved by thoroughly "cleaning" all distributions from unnecessary files and powerful archiving
  • Automatically fix system files so that local sites can be accessed by names that match the names of folders in the home directory
  • Denver is distributed free of charge and is constantly being improved. Found errors are fixed in new versions

Overall, this is an incredibly useful build for any web developer. Who doesn't want to have a separate place on their computer for experiments, where you can create as many sites as you like and do absolutely whatever you want with them.

If you are on this page, then you seriously want to start developing sites in WordPress, Joomla or learn the basics of PHP. So, what is Denver (Denwer)?

Denver (Denwer) Is a program used by web developers to develop or create sites on their home (local) computer without internet.

That is, thanks to the local server (as the Denver program is also called), you will be able to open and watch in the browser how your site will look if it appears on the Internet. Thanks to Denwer, a web developer can work with PHP or CMS engines (WordPress, Joomla, etc.). But the most important thing is that having a program like Denver at home, you can create a website, then configure it, test it, and then only if all the GUDs are available, upload it to the Internet for hosting.

I think you have figured out what Denwer is and now it's time to move on to the next step: denver installation.

  1. Naturally, to install Denver on a local computer, we need to download it first.
  1. Find and run the downloaded program on your computer. A black window should open. Press the "Enter" key on the keyboard:

  2. Next, the question will be posed: in which folder should Denver be installed? I always set the default to ":". Just press the "Enter" key on your keyboard:
  3. Then press "Y" (which means YES -yes) and then press "Enter" on the keyboard:
  4. When the installer announces the virtual disk, press the "Enter" key.
  5. Next, you should come up with any letter for the virtual disk, just use one that has not been used yet, for example, "O". Press the "Enter" key on your keyboard:
  6. Then you need to press "Enter" again to continue. Now we are waiting for the files to be copied, during this time you will have time to make yourself a coffee with a sandwich.
  7. When the files are copied, you will see this:

    We write "1" and press "Enter".
  8. After that, the installer will ask you: “ Create desktop shortcuts to launch Denver (y / n)?". I advise you to create shortcuts on your desktop, this is for convenience. Enter (Y), if you do not want the shortcuts to be on the desktop, enter (N). Click on "Enter":
  9. You will see the inscription “ The installation procedure is complete. Press Enter to continue". Press the "Enter" key:

Here you have just installed the local Denwer server on your computer! Please accept my sincere congratulations !!!

Instructions for working with Denwer?


Please note: on the desktop you will have three icons with names such as
"" - will stop Denver.

To start Denver, double-click on the "Start Denwer" icon.

The fact that Denver is enabled will be shown in the tray, 2 icons appear - a feather and a hat (in the lower right corner near the clock and date):

To check the work of Denver, open any browser and write or paste this address in the address bar:

https: // localhost / denwer /

If everything is Good, then you will see this page:

If the page is not available, then something went wrong. Try disabling all programs like Skype.

Your site files should be located in the directory:

O: \\ home \\ localhost \\ www

where "O: \\" is the virtual disk we created.

I will use the first path " C: \\ WebServers \\ home \\ localhost \\ www».
So open up "My computer" \u003d\u003e "Local drive (C :)" \u003d\u003e "WebServers" \u003d\u003e "home" \u003d\u003e "localhost" \u003d\u003e "www".

Create a folder for the site, just do not forget to give the name in Latin. I named the folder "site":

Fill the site files into this folder:

Now it will be available to us at this address:

https: // localhost / your site folder /

In my case it is

https: // localhost / site /

4. How to open the databaseMySQL (DB)

You can open and configure the MySQL database in Denwer at

https: // localhost / Tools / phpMyAdmin /

After finishing work, you need to stop working in Denver. To do this, click on the desktop shortcut that says "Stop Denwer".

To delete a virtual disk created by Denver, and Denver itself, you must first disable it if it was enabled. To do this, click on the desktop shortcut that says "Stop Denwer".

Press "WIN + R" or "Start" \u003d\u003e "Run" \u003d\u003e "subst z: / d» .
Instead of "z" enter the letter of your drive, in my case it is drive "o":

The virtual disk has been deleted. Now go to drive "C" - "My Computer" \u003d\u003e "Local Disk (C :)"... We find the folder "WebServers" there and in a simple way known to us delete this folder with the "Deleit" key:

Then we remove the shortcuts from the desktop. To remove Denver That's all I wanted to say.

Thanks for reading my article! Subscribe to my blog updates so as not to miss a tasty topic. And, if you liked the article, click on the social media button ↓ ↓ ↓

2018-03-15


Hello dear visitor!

As noted earlier, in the presented materials of the Collection, if during the consideration of articles any changes are made to the program code of the site, then the latest version of the source materials is attached to them, including the site files and MySQL database tables.

And using these materials, you can check the work of the site at certain stages of its creation. Which is quite convenient for checking and understanding the actions that are discussed in this series of articles.

Therefore, today we will dwell separately on the issue of installing (transferring) the site to a local web server. Essentially, this article can be thought of as some kind of "Instructions for Downloading Site Source Files".

And with regard to loading MySQL data, this can be used for hosting as well. The only difference is that in this case the database should be used, located not on the local web server, but on the hosting.

As for uploading site files to hosting, there is a separate article on this issue, Transferring a Site to Hosting, which shows how this can be done using the FileZilla FTP client.

  • Preparing a local web server
  • Download and unpack source materials
  • Transferring files to a local web server
  • Importing MySQL tables into the current host database

Preparing a local web server

In order to imitate the operation of a site hosted on a local computer, you must first install a local web server on it.