Bug #76200 [Nab]: Compile option '--with-fbsql' is unrecognized but docs says PHP7 is supported
| From: | bbruers at dobit dot com | Date: | Wed, 06 Mar 2019 17:54:22 +0000 |
| Subject: | Bug #76200 [Nab]: Compile option '--with-fbsql' is unrecognized but docs says PHP7 is supported | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-219871@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76200&edit=1
ID: 76200
User updated by: bbruers at dobit dot com
Reported by: bbruers at dobit dot com
Summary: Compile option '--with-fbsql' is unrecognized but
docs says PHP7 is supported
Status: Not a bug
Type: Bug
Package: FrontBase related
-PHP Version: 7.2.4
+PHP Version: 7.2.8
Assigned To: fmk
Block user comment: N
Private report: N
New Comment:
Thank you for your feedback. However, if I try to create a fbsql.so 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
[-Wimplicit-function-declaration]
GC_ADDREF(res);
^
1 warning generated.
If I add the produced fbsql.so 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/fbsql.so
Expected in: flat namespace
Thanks for your support.
Best regards,
Bavo
Previous Comments:
------------------------------------------------------------------------
[2018-08-29 18:25:40] fmk@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Download the source from the SVN repositoryÃ
svn co https://svn.php.net/repository/pecl/fbsql/trunk
You can either build the extension as a shared object
phpize
./configure --with-fbsql
make
or by bopying or symlinking the folder to the PHP source tree under the ext folder.
------------------------------------------------------------------------
[2018-04-09 11:23:35] cmb@php.net
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] <http://www.php.net/manual/en/intro.fbsql.php>
[2] <https://pecl.php.net/>
[3] <http://svn.php.net/viewvc/pecl/fbsql/>
------------------------------------------------------------------------
[2018-04-09 09:17:33] bbruers at dobit dot com
Description:
------------
---
From manual page: http://www.php.net/intro.fbsql
---
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'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76200&edit=1