note 54147 added to ref.sybase

From: Date: Fri, 24 Jun 2005 18:41:40 +0000
Subject: note 54147 added to ref.sybase
Groups: php.notes 
Request: Send a blank email to php-notes+get-90919@lists.php.net to get a copy of this message
Up to php 5.0.4 you cannot install both sybase and mssql (they use the same function names). It turns out though that if you use the Freetds library you can connect to sybase using the mssql functions (and visa versa I assume). Setup your servers in the freetds.conf file (for sybase use specify version 5.0, for mssql 7 or 8.0) and call the database connection as you would with mssql (mssql_conect). You should be able to connect either sql server or sybase. I don't know if all sybase functions will work as expected but basic querying is succesful. Hope this helps someone. ---- Manual Page -- http://www.php.net/manual/en/ref.sybase.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54147 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54147&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54147&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54147&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54147&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54147&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54147&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54147&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90919) next »