php.net |  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
Votes:2
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
 [2006-04-06 03:32 UTC] 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

Patches

Pull Requests

History

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] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

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: Mon Dec 02 18:01:31 2024 UTC