Bug #81282 [Csd]: compile php7.3 with interbase or pdo-firebird support Firebird1.5.6?

From: Date: Fri, 24 Sep 2021 20:01:34 +0000
Subject: Bug #81282 [Csd]: compile php7.3 with interbase or pdo-firebird support Firebird1.5.6?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236825@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81282&edit=1 ID: 81282 User updated by: maksims dot alekseicev at gmail dot com Reported by: maksims dot alekseicev at gmail dot com Summary: compile php7.3 with interbase or pdo-firebird support Firebird1.5.6? Status: Closed Type: Bug Package: *Compile Issues Operating System: Win 10 x64 PHP Version: 7.3.29 Assigned To: cmb Block user comment: N Private report: N New Comment: I found compiled php5.6 in arhive.php.net and it works like a sharm. If anyone need have php support database Firebird1.5 please take a look in. Best regards, Mmx Symfony Previous Comments: ------------------------------------------------------------------------ [2021-09-24 10:25:47] cmb@php.net Okay, I think this ticket can be closed now. ------------------------------------------------------------------------ [2021-07-26 11:44:59] cmb@php.net > Furthermore, you should be aware that Firebird 3 won’t open > databases that were created by older versions. Indeed! Support for dialect 1 is only about the SQL. Consider to have a look at <https://firebirdsql.org/en/devel-php-driver/>. ------------------------------------------------------------------------ [2021-07-26 07:32:31] maksims dot alekseicev at gmail dot com Thank you for reply, i will migrate to 7.4.21, it is not a problem. Just interbase was supported till 7.4 (PHP 5, PHP 7 < 7.4.0) ibase_trans — Begin a transaction That the reason why i choose 7.3.xx Speaking about Firebird 3 - in docs written -> Furthermore, you should be aware that Firebird 3 won’t open databases that were created by older versions. So before taking down your existing setup, you should back up all your databases in order that you can restore them later under Firebird 3 But i will try comple 7.4.21 with flags - --enable-pdo –with-pdo-firebird Thank you for your time and help ------------------------------------------------------------------------ [2021-07-23 09:01:25] cmb@php.net Windows usually doesn't accept individual paths for the --with-* options of extensions. You can try something like --with-extra-includes="C:\Program Files (x86)\Firebird\Firebird_1_5\include" ..with-extra-libs="C:\Program Files (x86)\Firebird\Firebird_1_5\lib" That said, the last Firebird 1 has been released more than ten years ago, so you should consider to upgrade. AFAIK, Firebird 3 can read and write version 1 databases just fine, and at least PDO_Firebird supports that dialect[1] as of PHP 7.4. Also note that PHP 7.3 is no longer actively supported[2]. [1] <https://github.com/php/php-src/pull/4761> [2] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2021-07-23 08:45:03] maksims dot alekseicev at gmail dot com Description: ------------ how to compile php7.3 with interbase or pdo-firebird? Few days around I try different way, but still not undestand how to compile Php7.3 vc15 x86 with interbase for Firebird 1.5.6.5026 -> configure "--enable-snapshot-build" "--enable-debug-pack" "--without-analyzer" "--with-interbase='C:\Program Files (x86)\Firebird\Firebird_1_5\bin'" Problem is by default is Firebird 3 x64 version, but i need to php (Any version) works with old Firebird 1.5,interbase or pdo-firebird no matter. After compilig all looks ok, php error cannot find fbclient.dll, i copy to System32 ad C:\php, than got another error "The procedure entry point fb_interpret could not be located n the dynamic link library C:\php\php7ts.dll", any help or advise will be great. Thanks in advance Test script: --------------- $ nmake test Microsoft (R) Program Maintenance Utility Version 14.16.27045.0 Copyright (C) Microsoft Corporation. All rights reserved. "C:\php-sdk\php-sdk-binary-tools\php-7.3-x64-86\vc15\x86\php-7.3.29-src\Release_TS\php.exe" -n -c "C:\php-sdk\php-sdk-binary-tools\php-7.3-x64-86\vc15\x86\php-7.3.29-src\Release_TS\tmp-php.ini" -d open_basedir= -d output_buffering=0 -d memory_limit=-1 run-tests.php -p "C:\php-sdk\php-sdk-binary-tools\php-7.3-x64-86\vc15\x86\php-7.3.29-src\Release_TS\php.exe" -n -c "C:\php-sdk\php-sdk-binary-tools\php-7.3-x64-86\vc15\x86\php-7.3.29-src\Release_TS\tmp-php.ini" NMAKE : fatal error U1077: 'C:\php-sdk\php-sdk-binary-tools\php-7.3-x64-86\vc15\x86\php-7.3.29-src\Release_TS\php.exe' : return code '0xc0000139' Stop. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81282&edit=1

« previous php.bugs (#236825) next »