|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-09 10:56 UTC] cynic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 10:00:01 2025 UTC |
When executing the following: <?php $connect = odbc_connect("dsn", "user", "pass"); $query = "select * from Banking_Services"; $result = odbc_do($connect, $query); odbc_result_all($result, "BORDER=1"); odbc_close_all(); ?> I get an error, FATAL: emalloc(): Unable to allocate 1073741824 bytes. I am using PHP 4.04 on Windows 2000 SP1 connecting via ODBC to a MSSQL 7.0 SQL Server. I installed PHP from the installer version of the win32 binarys. The script above will work fine if I select a table that does NOT have a field defined as "TEXT" or if I do a selective select without the field defined as "TEXT". I have install NO additional extentions or made any modifications to php.ini.