Error vcruntime140.dll 14.0 is not compatible with this PHP build in Laragon

I have found this error vcruntime140.dll 14.0 is not compatible with this PHP build while using PHP version 7.4.15 with laragon on Windows 10.

To fix the error, we need to download and install Microsoft Visual C++ Redistributable for Visual Studio 2022.

Follow the below steps to find the solution for the error vcruntime140.dll 14.0 is not compatible with this PHP build.

 

1. Visit below links to get the application download link.

https://visualstudio.microsoft.com/downloads/

 

2. Download Microsoft Visual C++ Redistributable for Visual Studio 2022 from Other Tools, Frameworks, and Redistributables Link.

 

3. Install the VC_redist.x64.exe application after download  and restart the system. 

Now you can see that everything is running.