mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Install 32bit Firebird server on x86
php_pdo_firebird.dll depends on fbclient.dll, which is shipped with the server. However, a 64bit Firebird server ships a 64bit fbclient.dll, which is not compatible with a 32bit php_pdo_firebird.dll. Closes GH-16223.
This commit is contained in:
parent
d49c92ff00
commit
c3434091de
7
.github/scripts/windows/test_task.bat
vendored
7
.github/scripts/windows/test_task.bat
vendored
@ -52,7 +52,12 @@ set ODBC_TEST_DSN=Driver={ODBC Driver 17 for SQL Server};Server=^(local^)\SQLEXP
|
||||
set PDOTEST_DSN=odbc:%ODBC_TEST_DSN%
|
||||
|
||||
rem setup Firebird related exts
|
||||
curl -sLo Firebird.zip https://github.com/FirebirdSQL/firebird/releases/download/v3.0.9/Firebird-3.0.9.33560-0_x64.zip
|
||||
if "%PLATFORM%" == "x64" (
|
||||
set PHP_FIREBIRD_DOWNLOAD_URL=https://github.com/FirebirdSQL/firebird/releases/download/v3.0.9/Firebird-3.0.9.33560-0_x64.zip
|
||||
) else (
|
||||
set PHP_FIREBIRD_DOWNLOAD_URL=https://github.com/FirebirdSQL/firebird/releases/download/v3.0.9/Firebird-3.0.9.33560-0_Win32.zip
|
||||
)
|
||||
curl -sLo Firebird.zip %PHP_FIREBIRD_DOWNLOAD_URL%
|
||||
7z x -oC:\Firebird Firebird.zip
|
||||
set PDO_FIREBIRD_TEST_DATABASE=C:\test.fdb
|
||||
set PDO_FIREBIRD_TEST_DSN=firebird:dbname=%PDO_FIREBIRD_TEST_DATABASE%
|
||||
|
Loading…
Reference in New Issue
Block a user