WEMP Web Development Environment for Windows

2 Minute(s) to read

The following blog post is going to in-depth into how best to setup your web development environment if you are using the following stack.

The acronym expanded:

Windows, Enginx, MySQL, PHP.

  • Scripting
    • PHP 7 (FastCGI Server)
  • Database
    • MySQL (or MariaDB)
  • Web Server
    • NGINX


If you're not interested in spending time manually downloading and configuring the required components for setting up your own local development environment for the aforementioned stack, then there are the following alternatives.

Both are perfectly fine and make use of Apache over WAMP, which is suitable for most. However, I prefer to run my web server through NGINX for performance and configuration reasons.


Through each section I will guide you through what you must do in order to configure each component adequately.

The layout of your development environment should be as follows.

// Extracted ZIP archives and downloads for WEMP go here.
// ZIP archives and downloads for WEMP go here.
// The contents of your website go here.
// Supporting scripts go here.


You're going to need to download all of the mentioned above.


The following is completely optional but I recommend it for an easier development experience.

Visual Studio Code

An integrated development environment that is useful for breakpoint debugging with Windows.

Download Visual Studio Code

MySQL Workbench

This tool works with both MariaDB and MySQL server, and offers a convenient way of viewing the contents of your server instance.

Download MySQL Workbench for Windows


The following sections outline how best to configure each component of your local development setup (WEMP).


Configuration for NGINX will rely on using "FastCGI" functionality so that web requests received by NGINX, can be handed to a language or script interpreter, processed, and then have the output returned to the user.

MySQL or MariaDB

Windows respects table names that make use of a combination of upper and lower case characters. However, on Linux systems lower case table names are enforced by default. This can cause complications if you are intending on backing up a database that is created on your development machine (on Windows), and then importing it into your live environment that is running on Linux.

Recommended Windows configuration:


PHP 7 (FastCGI)

The following specifies that is required to get PHP up and running in a development environment on Windows.



Breakpoint Debugging

For breakpoint debugging, you will require XDebug which is available from here.

Add the following properties to your php.ini file to enable it.


Gravatar for canadianpharmacyndaopich
canadianpharmacyndaopich Oct 15, 2019, 9:58 PM (28 days ago)

canadian drugs <a href=http://canadianpharmacynda.com/#>canadian pharmacy online</a> canadian online pharmacy
<a href=http://canadianpharmacynda.com/#>canadian pharmacy generic viagra</a>
canadian pharmacy meds <a href=http://canadianpharmacynda.com/#>canadian pharmacy online</a> viagra online generic canada
<a href="http://canadianpharmacynda.com/#">viagra online canadian pharmacy</a>

Gravatar for BennyMounk

<a href="http://metforminf5h.com">company contacts</a>
<a href="http://tadalafilo0o.com">business headquarters</a>
<a href="http://sildenafilo0o.com">company news</a>
<a href="http://propeciad7k.com">company news</a>
<a href="http://baclofen0i0.com">website</a>

Gravatar for BennyMuh

<a href="http://tadalafil111.com">website</a>
<a href="http://doxycyclined6j.com">business</a>
<a href="http://antabuse0i0.com">business</a>
<a href="http://viagraf5h.com">company news</a>
<a href="http://lexaproby6.com">more about company</a>

Gravatar for DouglasLiT

<a href="http://albuterol1s1.com">website</a>

Gravatar for BennyCag

<a href="http://zithromax0i0.com">zithromax0i0.com</a>
<a href="http://sildenafild6j.com">company contacts</a>
<a href="http://propeciad7k.com">website</a>
<a href="http://synthroidf5h.com">corporate website</a>
<a href="http://cialisd6j.com">cialisd6j.com</a>