[PHP-DB] Re: Apache 1.3.31, php 5.0.2 and firebird 1.5

2004-10-25 Thread Lester Caine
Luciano Eicke wrote:
ok...  PDO_firebird was the wrong dll.
i should have used php_interbase.dll instead.
Yes - you will find more help on firebird and php at
http://groups.yahoo.com/group/firebird-php
The rather old GSG is at
http://www.ibphoenix.com/main.nfs?a=ibphoenixpage=ibp_beginners_php
and there is a tikifirebird site which should be active next month 
running on Apache2, PHP5 and Firebird 1.5 watch on the firebird-php list 
for details ;)

--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] Re: Apache 1.3.31, php 5.0.2 and firebird 1.5

2004-10-24 Thread Luciano Eicke
sorry for the double post.

i was reading the documentation and found my problem was path related.

the problem was php was unable to find the php_pdo.dll inside the extensions
directory.
i just copied it under the php installation directory and now php-cgi -m
lists PDO_Firebird
under the PHP Modules.

i also noticed a new error message indicating php_pdo.dll should be loaded
before any calls
to PDO related modules, so i enabled it in the php.ini extensions section.

but now i found another problem:

my test page returns:

Call to undefined function ibase_connect()

my teste page is

?php

 $host = 127.0.0.1:/data/mydb.fdb;
 $username = sysdba;
 $password = pwd;
 $connection = ibase_connect($host, $username, $password, 'ISO8859_1',
'100', '1');
 $sql = select MyField from MyTable;

 $rid = @ibase_query($connection, $sql) or die(ibase_errmsg());

 while ($row = ibase_fetch_row($rid)) {
   echo $row[0] . br;
 }
 ibase_close($connection);

?


any hints on this ?


Luciano Eicke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 hi,

 i'm having a hard time trying to get the firebird extension working with
 PHP.

 php is installed and running as CGI under Apache, but when i add the
 extension=php_pdo_firebird.dll to my php.ini i can't get php to start.

 it aborts with unable to load dynamic library ./php_pdo_firebird.dll one
of
 the files needed to run this application cannot be found .

 i used DEPENDS to check the required files and all of them are visible to
 the system:
 PHP5TS.DLL (php install dir), GDS32.DLL (windows/system), PHP_PDO
 (php/extensions) and MSVCRT (windows/system).

 i also tried to load the php_zip.dll extension and it worked, so the
problem
 is the firebird extension.

 any hints ?

 regards,

 luciano eicke

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Re: Apache 1.3.31, php 5.0.2 and firebird 1.5

2004-10-24 Thread Luciano Eicke
ok...  PDO_firebird was the wrong dll.

i should have used php_interbase.dll instead.

have i downloaded the complete zip file first i wouldn't have ran into this
problemm.

i first used the installer, then i downloaded the PECL package that had the
PDO_firebird
(which caused me to think this was the right one), and last i downloaded the
complete zip
file which didn't have the PDO_firebird but had the php_interbase.dll.

tricky.



since i didnt find the php_interbase.dll i thought

Luciano Eicke [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 sorry for the double post.

 i was reading the documentation and found my problem was path related.

 the problem was php was unable to find the php_pdo.dll inside the
extensions
 directory.
 i just copied it under the php installation directory and now php-cgi -m
 lists PDO_Firebird
 under the PHP Modules.

 i also noticed a new error message indicating php_pdo.dll should be loaded
 before any calls
 to PDO related modules, so i enabled it in the php.ini extensions section.

 but now i found another problem:

 my test page returns:

 Call to undefined function ibase_connect()

 my teste page is

 ?php

  $host = 127.0.0.1:/data/mydb.fdb;
  $username = sysdba;
  $password = pwd;
  $connection = ibase_connect($host, $username, $password, 'ISO8859_1',
 '100', '1');
  $sql = select MyField from MyTable;

  $rid = @ibase_query($connection, $sql) or die(ibase_errmsg());

  while ($row = ibase_fetch_row($rid)) {
echo $row[0] . br;
  }
  ibase_close($connection);

 ?


 any hints on this ?


 Luciano Eicke [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  hi,
 
  i'm having a hard time trying to get the firebird extension working with
  PHP.
 
  php is installed and running as CGI under Apache, but when i add the
  extension=php_pdo_firebird.dll to my php.ini i can't get php to start.
 
  it aborts with unable to load dynamic library ./php_pdo_firebird.dll
one
 of
  the files needed to run this application cannot be found .
 
  i used DEPENDS to check the required files and all of them are visible
to
  the system:
  PHP5TS.DLL (php install dir), GDS32.DLL (windows/system), PHP_PDO
  (php/extensions) and MSVCRT (windows/system).
 
  i also tried to load the php_zip.dll extension and it worked, so the
 problem
  is the firebird extension.
 
  any hints ?
 
  regards,
 
  luciano eicke

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php