Hello Wee ,
I had the same problem as you one week ago : 'Unable to load dynamic library
'php_interbase.dll'
with this version for gds32.dll : WI-V5.6.0.29 (347 136 bytes) (this is the
dll which is used by php_interbase.dll to access Interbase )
After , i have tried with a new version of gds32.dll (WI-V6.0.0.530 , 361
984 bytes) , from directory c:\php\dll and now i can load php_interbase
correctly : (this version is for version 6 but i can use it with
(this dll works properly with the tool from Interbase: Communication
Diagnostic Tool and also with ISQL ... )
=> when i run phpinfo() (in a little script ) , i see informations about
Interbase : Interbase Enabled ...
I can connect to Interbase :
---- Connection on database ...
---- Connection OK=Resource id #1
---- Query on database ...
Warning: InterBase: Dynamic SQL Error SQL error code = -901 feature is not
supported in C:\InetPub\Pub\www\TestInterbase.php on line 33
---- End Query on database
---- Result= ()
But as you see , i can't Query Interbase !!!
This is the script i have run:
$host = 'SERVER1:e:\Data\Interbase\DB1.GDB';
$username = 'SYSDBA';
$password = 'passwd';
echo '---- Connection on database ...<br>';
$dbh = ibase_connect($host, $username, $password);
echo '---- Connexion OK=' . $dbh . '<br>';
echo '---- Query on database ...<br>';
$Q = ibase_query($dbh, 'Select * From customer');
echo '---- End Query on database<br>';
echo "---- Result= (" . $Q . ")<br>";
ibase_close ($dbh);
I don't undestand why the Query don't work properly , perhaps a bug in
php_interbase.dll ...
Hope this help ...
If you find a solution of our problem , don't forget me ;->
Pascal
[EMAIL PROTECTED]
"Wee Kyoungsub" <[EMAIL PROTECTED]> a ecrit dans le message news:
005301c080b5$0440ded0$[EMAIL PROTECTED]
> Hi,
>
> My Server is Windows 2000 ( Advanced Server ).
>
> I use Apache WebServer(1.3.12) and PHP 4.0.2
>
> I use Interbase 5.6 Server, PHP module (extension) not loading problem.
>
> My PHP root is "c:\php"
>
> My PHP.INI, this
> ------------
> extension_dir="C:\php\extensions"
>
>
> extension=php_interbase.dll
>
>
> -------------
>
> when I Start Apache Service, Appear this message
>
> 'Unable to load dynamic library 'php_interbase.dll'
>
> but any PHP function execute good.
>
> I execute sample php code, this
> --------------
> <?
> phpinfo();
> $dbh = ibase_connect ("d:\project\klpg\database\tank.gdb", "sysdba",
"masterkey");
> $stmt = 'SELECT * FROM customer';
> $sth = ibase_query ($dbh, $stmt);
> while ($row = ibase_fetch_object ($sth))
> {
> print $row->email . "\n";
> }
> ibase_close ($dbh);
> ?>
> --------------
> result is
>
> Fatal error: Call to undefined function: ibase_connect() in
d:/webroot/index.php3 on line 36
>
> I don't know this..help...please
>
>
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]