php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30721 Unable to allocate connection record
Submitted: 2004-11-08 17:21 UTC Modified: 2006-03-29 14:56 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: mignoni at gmail dot com Assigned:
Status: No Feedback Package: Sybase-ct (ctlib) related
PHP Version: 4.3.9 OS: Windows XP
Private report: No CVE-ID: None
 [2004-11-08 17:21 UTC] mignoni at gmail dot com
Description:
------------
    I installed sybase 12.5.2 (Linux) and apache (Windows XP) and php 4.3.9 (Windows XP) on the same server, the php testing is no problem.
    But i use function sybase_connect() in program testeConexao.php, when i open the file
in IE, error messages :
============================
Warning: sybase_connect(): Sybase: Unable to allocate connection record in D:\WebServer\homebanking\include\testeConexao.php on line 15
============================

    I search all the internet, don't find the reason and the solution.

    PLase Help me, Thanks a lot.

    Bruno Mignoni



Reproduce code:
---------------
session_start();

$config["BANCO"]["usuario"] = "sa";
$config["BANCO"]["senha"] = "olaolaola";
$config["BANCO"]["host"] = "srvdatabase";
$config["BANCO"]["database"] = "ola";

if(!$bd=sybase_connect($config["BANCO"]["host"], $config["BANCO"]["usuario"], $config["BANCO"]["senha"], NULL, "HOMEBANKING 0100")){
	echo("ERROR");
	exit;
}else{
	if(!@sybase_select_db($config["BANCO"]["database"],$bd)){
		echo("ERRO - DataBase");
		exit;
	}else{
		set_time_limit($config["TEMPO_LIMITE"]);
	} 
}


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-11 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 Dec 14 16:01:26 2024 UTC