#36992 [Opn]: Unable to connect to ASE 15 server
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:
Should be:
$conn = sybase_connect( 'server','user','pass' );
Previous Comments:
------------------------------------------------------------------------
[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)