ID: 33184 User updated by: brad_allgood at csgsystems dot com Reported By: brad_allgood at csgsystems dot com -Status: Bogus +Status: Open Bug Type: ODBC related Operating System: Windows XP PHP Version: 5.0.4 New Comment:
I do not think this is a db related issue as I can run the same query from the command line on the server running the db and it works fine. I cut and pasted the original bug report as I thought this may have been overlooked in the php5 development cycle. I am running the php script on a windows xp machine using odbc calls against a remote db2 machine using an explict connection string call. $connect_string = "Driver={IBM DB2 ODBC Driver};HOSTNAME=host.domain.com;DATABASE=SOMEDB;PROTOCOL=TCPIP;PORT=X0000;"; Previous Comments: ------------------------------------------------------------------------ [2005-05-30 15:29:25] [EMAIL PROTECTED] SQL0954C Not enough storage is available in the application heap to process the statement. Explanation: All available memory for the application has been used. The statement cannot be processed. User Response: Terminate the application on receipt of this message. Increase the database configuration parameter (applheapsz) to allow a larger application heap. ------------------------------------------------------------------------ [2005-05-30 15:17:32] brad_allgood at csgsystems dot com Description: ------------ Appears to be a resurface of bug id #16221 from 4.1.2 After doing between 50-182 query's to IBM DB2 7 on Windows 2000 (localhost) with this script: <? $connection = odbc_connect( "test","db2admin", "admin" ) or die("Unable to connect to SQL server"); } $result=odbc_exec($connection,"set current sqlid = 'DB2ADMIN'"); $counter=0; while ($counter <5000) { $query="select * from tms_user"; $result=odbc_exec($connection,$query); $temp=odbc_fetch_row ($result); echo "counter= $counter <br>"; odbc_free_result($result); odbc_close_all(); $counter++; } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33184&edit=1