Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1905756: PHP can't load extension #418

Open
julien2291 opened this issue Jan 31, 2025 · 2 comments
Open

SNOW-1905756: PHP can't load extension #418

julien2291 opened this issue Jan 31, 2025 · 2 comments

Comments

@julien2291
Copy link

Hello,

I've tried to build the extension with VS 17.
I've launched this command :
.\scripts\setup_php_sdk.bat x64 Release VS17 C:\php-sdk
.\scripts\run_setup_php.bat x64 Release VS17 8.3.6 C:\php-sdk
.\scripts\run_build_pdo_snowflake.bat x64 Release VS17 8.3.6 C:\php-sdk

I've copy the DLL to my PHP dir.

But when I test if the extension can be loaded, i have this message :

Warning: PHP Startup: Can't load module 'c:\wamp64\bin\php\php8.3.6\ext\php_pdo_snowflake.dll' as it's linked with 14.42, but the core is linked with 14.29 in Unknown on line 0

Can you help me on this point please ?

@github-actions github-actions bot changed the title PHP can't load extension SNOW-1905756: PHP can't load extension Jan 31, 2025
@artello73
Copy link

Hello,

I've tried to build the extension with VS 17. I've launched this command : .\scripts\setup_php_sdk.bat x64 Release VS17 C:\php-sdk .\scripts\run_setup_php.bat x64 Release VS17 8.3.6 C:\php-sdk .\scripts\run_build_pdo_snowflake.bat x64 Release VS17 8.3.6 C:\php-sdk

I've copy the DLL to my PHP dir.

But when I test if the extension can be loaded, i have this message :

Warning: PHP Startup: Can't load module 'c:\wamp64\bin\php\php8.3.6\ext\php_pdo_snowflake.dll' as it's linked with 14.42, but the core is linked with 14.29 in Unknown on line 0

Can you help me on this point please ?

Do you have a VS17 runtime installed?

https://aka.ms/vs/17/release/vc_redist.x64.exe

@julien2291
Copy link
Author

Yes, I can build the dll.

I've installed those tools :

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants