Bug #81282 [Opn]: compile php7.3 with interbase or pdo-firebird support Firebird1.5.6?
| From: | cmb@php.net | Date: | Fri, 23 Jul 2021 09:01:25 +0000 |
| Subject: | Bug #81282 [Opn]: 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-235289@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
Updated by: cmb@php.net
Reported by: maksims dot alekseicev at gmail dot com
Summary: compile php7.3 with interbase or pdo-firebird
support Firebird1.5.6?
Status: Open
Type: Bug
Package: *Compile Issues
Operating System: Win 10 x64
PHP Version: 7.3.29
Block user comment: N
Private report: N
New Comment:
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>
Previous Comments:
------------------------------------------------------------------------
[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