#36992 [Opn]: Unable to connect to ASE 15 server

From: Date: Fri, 07 Apr 2006 12:31:30 +0000
Subject: #36992 [Opn]: Unable to connect to ASE 15 server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95426@lists.php.net to get a copy of this message
 ID:               36992
 User updated by:  mtjo62 at gmail dot com
 Reported By:      mtjo62 at gmail dot com
 Status:           Open
 Bug Type:         Sybase-ct (ctlib) related
 Operating System: Win2K Server
 PHP Version:      5.1.2
 New Comment:

The sybase_connect() info in the php docs refers to the interfaces
file. As far as I can tell, ASE 15 does not use this file.


Previous Comments:
------------------------------------------------------------------------

[2006-04-07 01:20:18] mtjo62 at gmail dot com

Should be:

$conn = sybase_connect( 'server','user','pass' );

------------------------------------------------------------------------

[2006-04-06 03:32:30] mtjo62 at gmail dot com

Description:
------------
Unable to connect to Sybase ASE 15 server. I am able to start the
server/services and run queries from the Sybase Central admin.
phpinfo() shows that the extension is loaded, but I am not sure if I
need php_sybase.dll instead. I also have SQL Server 2000 installed, but
it isn't running and all related services are set to manual.

Reproduce code:
---------------
$conn = sybase_connect( 'db','user','pass' ) or die(
sybase_get_last_message() );

if ( $conn ) echo 'Connected';

Expected result:
----------------
Connected

Actual result:
--------------
Warning: sybase_connect() [function.sybase-connect.html]: Sybase:
Unable to allocate connection record in g:\www\test\test_sybase.php on
line 5


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36992&edit=1


Thread (4 messages)

« previous php.bugs (#95426) next »