Re: Re: Sybase and PHP

From: Date: Thu, 26 Jun 2003 17:24:15 +0000
Subject: Re: Re: Sybase and PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-153014@lists.php.net to get a copy of this message
Do you have Sybase ASE on windows or Sybase Anywhere. I didn't know that Sybase make a windows version of ASE. We use Sybase ASE on HP UNIX here at work and I have PHP on both Windows 2000 and Sun linked to it. Mark. ----- Original Message ----- From: "Michael A Smith" <php-digest@custom87.net> To: "Mark McCulligh" <mmcculli@sykescanada.com> Sent: Thursday, June 26, 2003 1:13 PM Subject: Re: [PHP] Re: Sybase and PHP > I'm trying to use a sybase client to connect to a sybase database (which > is running on windoze) from a Linux box running PHP 4.3.2. I installed > the Sybase RPMs (ASE, common, openclient), and can configure right with > --with-sybase, but making gives me a bunch of errors: here's a sample: > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:38:22: sybfront.h: No > such file or directory > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:39:19: sybdb.h: No such > file or directory > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:40:22: syberror.h: No > such file or directory > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:61: parse error before > "LOGINREC" > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:61: warning: no > semicolon at end of struct or union > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:62: `link' redeclared as > different kind of symbol > /usr/include/unistd.h:697: previous declaration of `link' > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:62: warning: data > definition has no type or storage class > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:64: parse error before > '}' token > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c:143: parse error before > '*' token > /usr/local/php-4.3.2/ext/sybase/php_sybase_db.c: In function > `php_sybase_error_handler': > I can't figure out what's wrong... > > -Michael > On Thu, 2003-06-26 at 09:06, Mark McCulligh wrote: > > What Sybase are you using Sybase ASE (Adaptive Server Enterprise) or Sybase > > Anywhere. > > Is your PHP server on Windows or Linux. > > > > What you will need is the Sybase client first off. PHP links to the sql.ini > > files (in windows). > > Then you will need to edit your php.ini and uncomment the Sybase extension. > > > > Mark. > > > > > > "Michael A Smith" <php-digest@custom87.net> wrote in message > > news:1056605203.5134.122.camel@localhost.localdomain... > > > Hi, > > > > > > I want to connect to a Sybase database running on another windoze server > > > without having to a buy a copy of sybase for linux. How can I compile > > > PHP to have the sybase functions, but not the local database program. > > > > > > -Michael > > > -- > > > Michael A Smith <php-digest@custom87.net> > > > > >

« previous php.general (#153014) next »