pdo_snowflake
pdo_snowflake copied to clipboard
SNOW-251526: Cannot Build on Windows
Windows 10 x64 PHP V 7.3.0 VS2017
Hello. I am trying to build the .dll from instructions here: https://github.com/snowflakedb/pdo_snowflake#building-the-driver-on-windows on a Windows machine.
I bypassed the php build instructions as I already have PHP on my machine.
When I get to this section:
.\scripts\run_build_pdo_snowflake.bat
After the files are copied I receive an error the 'buildconf' is not recognizable.
Did I incorrectly assume that I could skip the php build section? Or is there something else I should be doing?
Thank you.
We had same issues tryin to compile for PHP 7.4.15 and ran into the buildconf error. We got around that by copying the PHP 7.4.15 source into the PHP SDK library that was built in a previous step: C:\php-sdk\phpmaster\vc15\x64\php-src
This solved our problem with building the php_pdo_snowflake.dll. However, we couldn't load it into our PHP instance. We were able to get the dll loaded into the PHP 7.4.15 instance that was compiled during the snowflake dll build. We're thinking there must be some PHP build issues between the Snowflake PHP build and the pre-built dlls from the PHP site we're using.
@Keith-Wade another option would be to run the .\scripts\run_setup_php.bat x64 Release VS16 8.2.3 c:\php-sdk
command, at least this worked for me.
We have builds on Windows running on GH actions and they are working fine. Additionally PHP <8 is not supported currently.