From: Matthias Hanft <mh@hanft.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to handle Firebird with PHP now
Date: Sun, 23 Mar 2025 08:34:50 +0100 [thread overview]
Message-ID: <f713d2a6-9203-8d00-da67-1bc7bd85b78a@hanft.de> (raw)
In-Reply-To: <27416a10-0532-32df-df43-7e51841c29bf@hanft.de>
I wrote:
>
> To compile PHP with Firebird support, I have the line
> -firebird
> in /etc/portage/profile/use.mask because the Firebird USE flag
> of PHP was masked somewhen.
While working with the manually installed Firebird 5.0 and the
unmasked "firebird" USE flag @ PHP, now here's the next problem:
They removed the "firebird" USE flag from PHP!
Now the PHP script
$x = new PDO('firebird:dbname=...');
leads to
PHP Fatal error: Uncaught PDOException: could not find driver
I already tried the PHP extension "php_8.2.0-interbase-3.0.1-linux-x64.so"
from https://github.com/FirebirdSQL/php-firebird/releases but that leads to
PHP Warning: Module "interbase" is already loaded
PHP Fatal error: Uncaught PDOException: could not find driver
On https://www.php.net/manual/en/ref.pdo-firebird.php it is mentioned
"Use --with-pdo-firebird[=DIR] to install the PDO Firebird extension,
where the optional [=DIR] is the Firebird base install directory."
$ ./configure --with-pdo-firebird
I'd really like to do that, but how?
-Matt
next prev parent reply other threads:[~2025-03-23 7:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-10 19:07 [gentoo-user] How to handle Firebird with PHP now Matthias Hanft
2025-02-10 20:11 ` Michael
2025-02-11 9:09 ` Matthias Hanft
2025-02-11 10:02 ` Michael
2025-02-11 16:30 ` Matthias Hanft
2025-02-11 18:12 ` Michael Orlitzky
2025-02-14 12:47 ` Matthias Hanft
2025-02-15 3:11 ` Michael Orlitzky
2025-02-14 13:29 ` Viorel Munteanu
2025-03-23 7:34 ` Matthias Hanft [this message]
2025-03-23 8:05 ` Eli Schwartz
2025-03-23 11:10 ` Matthias Hanft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f713d2a6-9203-8d00-da67-1bc7bd85b78a@hanft.de \
--to=mh@hanft.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox