Hi Denis, after some nights of installations I think I have found the cause of this error: I also got this error on WIN2000Pro / IIS5 / PHP 4.0.5 inside a project with MS Access 2000 - mdb ( linked via ODBC ) Everywhere I use odbc_connect... the emalloc() came. In the office we are running NT4 SP3, IIS4 , PHP 4.0.4 At home I had installed: 1) W2K, IIS5, PHP 4.0.5 2) W2K, Apache 1.3, PHP 4.0.5 3) NT4, Apache, PHP 4.0.5 Both 1) and 2) had shown the error emalloc() 3) is running as stable as in the office So I think the problem is caused by the new odbc-drivers of the W2K Try to reinstall the older ones if you can't use NT4. Good luck, Joerg Andreas ""Denis Eltsov"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99eukd$k9t$[EMAIL PROTECTED]">news:99eukd$k9t$[EMAIL PROTECTED]... > I use win2000 SP1 - IIS5 - php4 (as CGI) - odbc connection to Access 2000 > Everything was fine until I install MS SQL 2000 to the same machine. > After this I receive such a message > > FATAL: emalloc(): Unable to allocate 2147483599 bytes > > every time I try to execute such a program > <? > $x=odbc_connect("oh","",""); > $r=odbc_exec($x,"select 'a' as a_leter from some_table"); > ?> > > ODBC works fine from any other program. select text_field from some_table > all so works fine . > > Best regards Denis Eltsov > > P.S. I undestend what select 'a' as a_leter from some_table will return my > "a" several times. > This is an example of problem. :) > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]