This error can be caused by not installing the related Visual C++ Redistributable for Visual Studio
- For PHP 7.x use Visual C++ Redistributable for Visual Studio 2015 (x86 or x64 respectively)
- For PHP 5.6 use Visual C++ Redistributable for Visual Studio 2011 (x86 or x64 respectively)
- For PHP 5.4 use Visual C++ Redistributable for Visual Studio 2009 (x86 or x64 respectively)
That is it.