You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Github Actions builds are using incorrect configurations for the Windows builds.
For PHP the required compiler version is changing based on the PHP version, for example 8.3 uses Visual Studio 2019 (VS16), 8.4 uses Visual Studio 2022 (VS17).
The problem, that the Actions is always using the latest version which is currently Visual Studio 2022 (VS17).
If you compile with the wrong version, the extension is useless because you cannot load it, you got the error like this one: "Warning: PHP Startup: Can't load module '...\php\ext\libsql_php.dll' as it's linked with 14.41, but the core is linked with 14.29 in Unknown on line 0"
Basically the Visual C++ version in the extension is higher than it is in PHP, but you cannot compile that specific PHP version with a higher version.
Could you please correct the it always uses the required compiler, or at least add the 8.4 which currently using Visual Studio 2022?
You can make 8.3 work as well, you just need to change the runner version to Windows2019, because it's using Visual Studio 2019.
Thank you!
Minimal Reproduction
Try to load the compiled Windows 8.3 extension for PHP 8.3.
Exception or Error
Warning: PHP Startup: Can't load module '...\php\ext\libsql_php.dll' as it's linked with 14.41, but the core is linked with 14.29 in Unknown on line 0
PHP 8.3.14 (cli) (built: Nov 19 2024 15:53:36) (NTS Visual C++ 2019 x64)
The text was updated successfully, but these errors were encountered:
Description
The Github Actions builds are using incorrect configurations for the Windows builds.
For PHP the required compiler version is changing based on the PHP version, for example 8.3 uses Visual Studio 2019 (VS16), 8.4 uses Visual Studio 2022 (VS17).
The problem, that the Actions is always using the latest version which is currently Visual Studio 2022 (VS17).
If you compile with the wrong version, the extension is useless because you cannot load it, you got the error like this one: "Warning: PHP Startup: Can't load module '...\php\ext\libsql_php.dll' as it's linked with 14.41, but the core is linked with 14.29 in Unknown on line 0"
Basically the Visual C++ version in the extension is higher than it is in PHP, but you cannot compile that specific PHP version with a higher version.
Could you please correct the it always uses the required compiler, or at least add the 8.4 which currently using Visual Studio 2022?
You can make 8.3 work as well, you just need to change the runner version to Windows2019, because it's using Visual Studio 2019.
Thank you!
Minimal Reproduction
Try to load the compiled Windows 8.3 extension for PHP 8.3.
Exception or Error
Warning: PHP Startup: Can't load module '...\php\ext\libsql_php.dll' as it's linked with 14.41, but the core is linked with 14.29 in Unknown on line 0
PHP 8.3.14 (cli) (built: Nov 19 2024 15:53:36) (NTS Visual C++ 2019 x64)
The text was updated successfully, but these errors were encountered: