php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81282 compile php7.3 with interbase or pdo-firebird support Firebird1.5.6?
Submitted: 2021-07-23 08:45 UTC Modified: 2021-09-24 20:01 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: maksims dot alekseicev at gmail dot com Assigned: cmb (profile)
Status: Closed Package: *Compile Issues
PHP Version: 7.3.29 OS: Win 10 x64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: maksims dot alekseicev at gmail dot com
New email:
PHP Version: OS:

 

 [2021-07-23 08:45 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-23 09:01 UTC] 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-26 07:32 UTC] 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-26 11:44 UTC] 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-09-24 10:25 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-09-24 10:25 UTC] cmb@php.net
Okay, I think this ticket can be closed now.
 [2021-09-24 20:01 UTC] maksims dot alekseicev at gmail dot com
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 20:01:32 2024 UTC