Troubleshooting: Visual C++ Redistributable Requirement #
When running a PHP application compiled with ExeOutput for PHP, you or your users might encounter an error message indicating that a specific version of the Visual C++ Redistributable is missing.
This error occurs because the PHP runtime and the CEF engine rely on the Visual C++ Redistributable to function correctly. Without the appropriate runtime, your application cannot execute.
Required Versions #
The required version of the Visual C++ Redistributable depends on the components you use in your application.
- For applications using CEF version 139 or later: A minimum of Visual C++ 2022 Redistributable is now required. Higher versions are backward compatible.
- For older versions or other components: The Visual C++ Redistributable for Visual Studio 2015-2019 might be required.
ExeOutput for PHP 2025 and later use CEF 139+.
Download Links #
You can find the necessary installers in the Redist subfolder of the ExeOutput for PHP installation directory. The installers are also available for download from the official Microsoft website:
Ensure that you download the x86 version for 32-bit applications created with ExeOutput for PHP.
Including the Runtime in Your Installer #
To provide a seamless installation experience for your users, you can bundle the Visual C++ Redistributable runtime with your application’s installer (for example, one created with Paquet Builder). This ensures the necessary runtime components are installed automatically with your application, eliminating the need for users to install them manually.
For detailed instructions, please refer to our Creating an Installer with Paquet Builder guide.