RE: [PHP-DB] php and sybase

From: Date: Mon, 16 Oct 2000 12:14:51 +0000
Subject: RE: [PHP-DB] php and sybase
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3633@lists.php.net to get a copy of this message
Tom, I have no direct experience with the Sybase Open Client since it doesn't appear to be widely availiable, however, I believe you need to reference an interfaces file. Check the open client docs for a reference to an environment variable $SYBASE. With that said, you might have good luck with FreeTDS (www.freetds.org). If I understand correctly, it supports all current versions of TDS up to 7.0, and can connect to any sybase or MSSQL server (don't know about MSSQL 2000 though). G'luck, -- Troy Settle Pulaski Networks 540.994.4254 ** -----Original Message----- ** From: Tom [mailto:tomcwh@yahoo.com] ** Sent: Friday, October 13, 2000 1:27 PM ** To: php-db@lists.php.net ** Subject: [PHP-DB] php and sybase ** ** ** I got an error message when using php to connect a ** sybase ase server on a winnt box. ** ** First, I installed the following software on a winnt ** box: ** 1 Software installed ** 2 php4.03 win32 ** 3 winnt4.0 ** 4 ASE11.92 win32 ** 5 IIS4 ** 6 sybase open client ** ** Second, I configured the php.ini file and tested by ** using phpinfo(), and everythings look fine. ** ** lines extract from php.ini ** extension=php_sybase_ct.dll ** ** Forth, php script for connecting the sybase server ** <?php ** $server="servername"; ** $uname="sa"; ** $passed=""; ** $connect=sybase_connect($server, $uname, $passed) ** or die ("Could not connect to the ASE!"); ** ?> ** ** Finally, i got an error message which shows that the ** ASE denied my connection request: ** Sybase message: warning.......access violation.... ** ** Help please, what's wrong with my configuration. ** ** Thanks for your help ** ** Tom ** ** ** ===== ** Tom ** mailto:tomcwh@bigfoot.com ** ** ** __________________________________________________ ** Do You Yahoo!? ** Get Yahoo! Mail - Free email you can access from anywhere! ** http://mail.yahoo.com/ ** ** -- ** PHP Database Mailing List (http://www.php.net/) ** To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net ** For additional commands, e-mail: php-db-help@lists.php.net ** To contact the list administrators, e-mail: ** php-list-admin@lists.php.net ** **

« previous php.db (#3633) next »