I had the same problem, and this was caused by the removal of some Visual C ++ libraries that should not have been removed, namely the 2012 releases.
I fixed this by reinstalling Visual C ++ 2012 Update 4 , and it worked. Remember to download the correct version depending on the PHP platform you are running on (x86 or x64).
source
share