RE: [PHP-DB] mssql functions on unix

2001-09-26 Thread Andrew Hill

Ricky,

Compile --with-sybase will give you an older TDS support, and allow you to
use the sybase_functions with MS SQLServer 6 and 7.

If you need to connect PHP on Unix to MS SQLServer 2000 you will want to use
ODBC.
Howto's are available on preparing PHP with ODBC at www.iodbc.org.

Hope this helps.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: Ricky Theil [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 26, 2001 12:25 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] mssql functions on unix


 Where do these functions come from on a unix box?  I've never had
 to connect
 to a mssql DB from a unix machine, but have run into the point
 where I must.
 I have plenty of scripts on a windows machine connecting to a
 mssql DB, but
 I don't see a configure option to include the mssql functions
 when compiling
 php.

 Any help is appreciated :)

 Thanks,

 Ricky



-- 
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]




RE: [PHP-DB] mssql functions on unix

2001-09-26 Thread Ricky Theil

When running make on php, I get the following errors:

/home/rtheil/php-4.0.6/ext/sybase/php_sybase_db.h:67:22: sybfront.h: No such
file or directory
/home/rtheil/php-4.0.6/ext/sybase/php_sybase_db.h:68:19: sybdb.h: No such
file or directory
/home/rtheil/php-4.0.6/ext/sybase/php_sybase_db.h:69:22: syberror.h: No such
file or directory

make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/home/rtheil/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rtheil/php-4.0.6/main'
make: *** [all-recursive] Error 1

Is there something I'm missing??  Here's the configure I ran:
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.19
--with-sybase --enable-track-vars

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 26, 2001 10:48 AM
To: Ricky Theil; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] mssql functions on unix


Ricky,

Compile --with-sybase will give you an older TDS support, and allow you to
use the sybase_functions with MS SQLServer 6 and 7.

If you need to connect PHP on Unix to MS SQLServer 2000 you will want to use
ODBC. Howto's are available on preparing PHP with ODBC at www.iodbc.org.

Hope this helps.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: Ricky Theil [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 26, 2001 12:25 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] mssql functions on unix


 Where do these functions come from on a unix box?  I've never had to 
 connect to a mssql DB from a unix machine, but have run into the point
 where I must.
 I have plenty of scripts on a windows machine connecting to a
 mssql DB, but
 I don't see a configure option to include the mssql functions
 when compiling
 php.

 Any help is appreciated :)

 Thanks,

 Ricky


-- 
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]