#36992 [Opn->Fbk]: Unable to connect to ASE 15 server
ID: 36992
Updated by: jani@php.net
Reported By: mtjo62 at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Sybase-ct (ctlib) related
Operating System: Win2K Server
PHP Version: 5.1.2
New Comment:
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..
Previous Comments:
------------------------------------------------------------------------
[2006-04-07 12:31:30] 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.
------------------------------------------------------------------------
[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)