ID: 39058 Comment by: jjsainzc at gmail dot com Reported By: mpcribeiro at yahoo dot com Status: No Feedback Bug Type: Sybase-ct (ctlib) related Operating System: Solaris 10 PHP Version: 5.1.6 New Comment:
I'm use freetds and php5.1.6 I have the same problem: Source (part): $connect_sybase_id=sybase_connect("Database","login","pass"); if ($connect_sybase_id) echo "Conectado\n"; else echo "No conectado\n"; if (sybase_select_db("Database")) echo "Seleccionada la base\n"; else echo "No pude seleccionar la base\n"; $query="SELECT field FROM DBA.tabla WHERE codigo=1"; $result = false; $result = sybase_query($query); if ($result) { $r=sybase_fetch_row($result); echo "Resultado\n"; print_r($r); } else echo "No pude hacer el query\n"; sybase_close($connect_sybase_id); Result: Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 56 bytes) in /home/support/prueba.php on line 30 Previous Comments: ------------------------------------------------------------------------ [2008-06-13 09:46:49] daniel dot buschke at nextiraone dot de Noticed that mpcribeiro is using sybase bindings. I use freetds! So it is not a problem of the bindings, is it? ------------------------------------------------------------------------ [2008-06-13 09:44:21] daniel dot buschke at nextiraone dot de # php -v PHP 5.2.6RC4-pl0-gentoo (cli) (built: Jun 13 2008 11:18:19) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Still the same problem. Please reopen 'cause bug seems not fixed. Let me know how I can provide further informations - if needed. ------------------------------------------------------------------------ [2008-03-03 07:33:51] kristjan at laborint dot com Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2560000 bytes) PHP: PHP Version 5.2.5 System: Linux z37 2.6.9-67.0.4.ELsmp #1 SMP Sun Feb 3 07:06:14 EST 2008 x86_64 Server API: CGI/FastCGI Sybase: Client API Version $Id: dblib.c,v 1.244.2.1 2006/01/31 08:45:20 freddy77 Exp $ ------------------------------------------------------------------------ [2007-05-13 01:00:01] 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". ------------------------------------------------------------------------ [2006-10-06 09:17:31] mpcribeiro at yahoo dot com Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 1835103092 bytes) in /data/www/ribeiros/syb/lib/lib_syb_sessions.php on line 66 Still with 5.1.6 and memory limit of 200Mb I'm currently compiling the latest PHP 5.2* available from devs cvs... lets see. Cheers ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39058 -- Edit this bug report at http://bugs.php.net/?id=39058&edit=1