Standalone WEMP

Yet another one of those "How to Setup a WEMP Stack" how-to. While other users prefer to get it done simply; I want to get down and dirty to keep things organized in my own liking.


There is an alternative way in installing the packages by using the Chocolatey package manager. The only caveat is you can't customize the installation directory in the free version. If you're willing to shell out $96/yr to free you of worry. Then why not?

* Download the Non Thread Safe as it fits with Nginx

Setting Up

You could create a directory under any drive of your choice with my existing structure as reference.

    : /nginx
    : /php
There is a Bin folder included which we will use to add it in our system path and linking binaries using batch and bash.

In the Bin folder we will have a batch script that acts a runner to boot up Nginx and PHP. It is a modified version of the original batch script I have been using over the years.


Finally add "C:\Dev\Bin" to your path of your environment variables. Now you can now call "servers.cmd" in MINGW64 or "servers" in Command Prompt.

Show Comments