|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76200 Compile option '--with-fbsql' is unrecognized but docs says PHP7 is supported
Submitted: 2018-04-09 09:17 UTC Modified: 2019-03-06 17:54 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: bbruers at dobit dot com Assigned: fmk (profile)
Status: Not a bug Package: FrontBase related
PHP Version: 7.2.8 OS:
Private report: No CVE-ID: None
 [2018-04-09 09:17 UTC] bbruers at dobit dot com
From manual page:
When I compile PHP7.2.4 from source with option '--with-fbsql' I get that the option is unrecognized.  However the docs on the fbsql section on the php website indicates that PHP7 does support fbsql.

Test script:
'./configure' '--with-fbsql'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-09 11:23 UTC]
-Assigned To: +Assigned To: fmk
 [2018-04-09 11:23 UTC]
The introduction section mentions[1]:

| This extension has been moved to the ┬╗ PECL repository and is no
| longer bundled with PHP as of PHP 5.3.0.

However, it seems that the package is not available on PECL[2],
even though it is in the PECL repo[3].

Frank, could you please clarify the status of the package?

[1] <>
[2] <>
[3] <>
 [2018-08-29 18:25 UTC]
-Status: Assigned +Status: Not a bug
 [2018-08-29 18:25 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

Download the source from the SVN repository├ć

svn co

You can either build the extension as a shared object

./configure --with-fbsql

or by bopying or symlinking the folder to the PHP source tree under the ext folder.
 [2019-03-06 17:54 UTC] bbruers at dobit dot com
-PHP Version: 7.2.4 +PHP Version: 7.2.8
 [2019-03-06 17:54 UTC] bbruers at dobit dot com
Thank you for your feedback.  However, if I try to create a file with phpize I still have some issues.  I use php version 7.2.8 and use the pecl trunk folder.  Configure goes without errors or warnings, but if I run make I receive the following warning:

/Users/babr/trunk/php_fbsql.c:778:2: warning: implicit declaration of function 'GC_ADDREF' is invalid in C99
1 warning generated.

If I add the produced file to the extensions library and try to run a Frontbase query, I get an Apache error:

dyld: lazy symbol binding failed: Symbol not found: _GC_ADDREF
  Referenced from: /Applications/MAMP/bin/php/php7.2.8/lib/php/extensions/no-debug-non-zts-20170718/
  Expected in: flat namespace

Thanks for your support.

Best regards,
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Feb 06 07:05:49 2023 UTC