Re: [PHP] php/osx and firebird

2005-06-15 Thread Richard Lynch
On Wed, June 15, 2005 9:04 am, James said: > $host = "10.1.4.58:c:\fbwin50\fbdata\fbdata.fdb"; > $username = "SYSDBA"; > $password = "masterkey"; > $dbh = ibase_pconnect ($host, $username, $password); > $stmt = "SELECT * FROM EVENTTYP"; > $sth = ibase_query ($dbh, $stmt); > > Warning: ibase_pconnec

Re: [PHP] php/osx and firebird

2005-06-15 Thread James
Here's the answer! http://community.borland.com/article/0,1410,25290,00.html I updated the SERVICE file on my Apache/PHP machine and all is well. At 12:04 PM -0400 6/15/05, James wrote: I have a windows machine with Firebird and the default database. I've configured another machine with Ap

Re: [PHP] php/osx and firebird

2005-06-15 Thread Kristen G. Thorson
"Undefined service gds_db/tcp." Sounds to me like it's not finding the port in services. I don't know what default port Firebird is listening on, but you should have an entry like gds_db/tcp 1234/tcp in c:\windows\system32\drivers\etc\services. You'll have to find out exactly whic

Re: [PHP] php/osx and firebird

2005-05-06 Thread Jochem Maas
James wrote: I've attempted to access a firebird database living on an osx/apache/php machine. When I'm running the following script, ini_set("magic_quotes_sybase", "On"); $host = 'localhost:/Library/Frameworks/Firebird.framework/Resources/examples/employee.fdb'; for portability and ea

Re: [PHP] php/osx and firebird

2005-05-05 Thread Lester Caine
James wrote: "To enable InterBase support configure PHP --with-interbase[=DIR], where DIR is the InterBase base install directory, which defaults to /usr/interbase." I've tried to add: --with-interbase=/Library/Frameworks/Firebird.framework/Resources to my php.ini and it didn't work. That does no

Re: [PHP] php/osx and firebird

2005-05-05 Thread Gabriel Guzman
James wrote: I've attempted to access a firebird database living on an osx/apache/php machine. How do I enable those functions? I've looked at the php documentation (http://uk2.php.net/manual/en/ref.ibase.php ) "To enable InterBase support configure PHP --with-interbase[=DIR], where DIR is th