Step 1
Copy the PHP installation folder from another workstation:

Step 2
Add the PHP installation folder to PATH:

Step 3
Install Microsoft Visual C++ Redistributable for Visual Studio ≥ 2015.
It solves the «unable to load dynamic library» problem.