|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36992 Unable to connect to ASE 15 server
Submitted: 2006-04-06 03:32 UTC Modified: 2007-08-25 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: mtjo62 at gmail dot com Assigned:
Status: No Feedback Package: Sybase-ct (ctlib) related
PHP Version: 5.1.2 OS: Win2K Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mtjo62 at gmail dot com
New email:
PHP Version: OS:


 [2006-04-06 03:32 UTC] mtjo62 at gmail dot com
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:

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-07 01:20 UTC] mtjo62 at gmail dot com
Should be:

$conn = sybase_connect( 'server','user','pass' );
 [2006-04-07 12:31 UTC] mtjo62 at gmail dot com
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.
 [2007-08-17 10:54 UTC]
Please try using this CVS snapshot:
For Windows (zip):

For Windows (installer):

Last time someone asked about this they said it worked fine..
 [2007-08-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 23:01:28 2024 UTC