Visual C++ Redistributable Requirement
Troubleshooting: Visual C++ Redistributable Requirement¶
When running your PHP application compiled with ExeOutput for PHP, you or your end users might encounter the following error message:
The Visual C++ Redistributable for Visual Studio 2015-2019 runtime is not installed on your system…
This error occurs because PHP relies on the Visual C++ Redistributable runtime to function correctly. Without the appropriate runtime installed, your application cannot execute PHP scripts properly.
Required Versions¶
To resolve this issue, ensure that the target system has the necessary Visual C++ Redistributable packages installed. The required versions are:
- Visual C++ Redistributable for Visual Studio 2015-2019
These packages provide the necessary libraries for running applications developed with Visual C++ on a computer that does not have Visual C++ installed.
Download Links¶
You can download the Visual C++ Redistributable packages directly from the official Microsoft website:
Ensure that you download the 32-bit version x86 for 32-bit applications
Including the Runtime in Your Installer¶
To provide a seamless installation experience for your users, you can include the Visual C++ Redistributable runtime within your installer created with Paquet Builder. This ensures that the necessary runtime components are installed automatically alongside your application, eliminating the need for users to manually install them.
For detailed instructions on how to include the Visual C++ Redistributable in your installer, please refer to our Creating an Installer with Paquet Builder guide.