Subject | Re: [firebird-php] Problems with PHP 5.3.3 on Gentoo Linux |
---|---|
Author | Matthias Hanft |
Post date | 2010-10-18T18:14:02Z |
Lester Caine wrote:
Then, I upgraded to PHP 5.3.3, restarted Apache, and... crash!
Downgraded to PHP 5.2.14 (sources for 5.2.12 weren't available
any more), restarted Apache, and everything was fine again.
Is the sequence
$db = ibase_connect(...);
$trans = ibase_trans($db...);
$prep = ibase_prepare($trans...);
$res = ibase_execute($prep...);
correct, after all? (At least, it has been working for years...)
BTW, starting PHP from the shell reads:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/lib/extensions/no-debug-non-zts-20090626/pdo_firebird.so' -
/usr/lib/php5/lib/extensions/no-debug-non-zts-20090626/pdo_firebird.so: cannot
open shared object file: No such file or directory in Unknown on line 0
but since I don't use PDO, it doesn't matter anyway...
-Matt
[Non-text portions of this message have been removed]
>Yes, exactly. I had PHP 5.2.12 running for a pretty long time.
> Just to confirm Matt ... all your code works in 5.2?
Then, I upgraded to PHP 5.3.3, restarted Apache, and... crash!
Downgraded to PHP 5.2.14 (sources for 5.2.12 weren't available
any more), restarted Apache, and everything was fine again.
Is the sequence
$db = ibase_connect(...);
$trans = ibase_trans($db...);
$prep = ibase_prepare($trans...);
$res = ibase_execute($prep...);
correct, after all? (At least, it has been working for years...)
> My code is working on 5.3, so it is a matter of determining where theI guess there must have been some problem with the Gentoo implementation...
> problem
> has slipped in from.
BTW, starting PHP from the shell reads:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/lib/extensions/no-debug-non-zts-20090626/pdo_firebird.so' -
/usr/lib/php5/lib/extensions/no-debug-non-zts-20090626/pdo_firebird.so: cannot
open shared object file: No such file or directory in Unknown on line 0
but since I don't use PDO, it doesn't matter anyway...
-Matt
[Non-text portions of this message have been removed]