RE: [PHP-DB] mssql functions on unix
| From: | Ricky Theil | Date: | Wed, 26 Sep 2001 18:51:20 +0000 |
| Subject: | RE: [PHP-DB] mssql functions on unix | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12747@lists.php.net to get a copy of this message | ||
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:ahill@openlinksw.com]
Sent: Wednesday, September 26, 2001 10:48 AM
To: Ricky Theil; php-db@lists.php.net
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:rtheil@quark.com]
> Sent: Wednesday, September 26, 2001 12:25 PM
> To: php-db@lists.php.net
> 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
>