|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8541 Fieldtype doesn't work with PHP
Submitted: 2001-01-03 15:07 UTC Modified: 2001-03-09 21:22 UTC
From: daboheny at yahoo dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4 OS: Windows NT/ 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: daboheny at yahoo dot com
New email:
PHP Version: OS:


 [2001-01-03 15:07 UTC] daboheny at yahoo dot com
I use:

PHP 4.04 ISAPI-Mode
SQL Server 2000
and ODBC.

Here the message:

FATAL: emalloc(): Unable to allocate 1073741824 bytes 

The problem seems (for me) to be the field NTEXT.
I changed the fields of type NTEXT to TEXT and it worked.

I first posted this problem on
James Moore (PHP QA Team) asked me to post the problem here.

So, how I said: After I changed all the database-fields of type NTEXT to TEXT, it worked perfect for me!

Hope I could help.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-04 12:14 UTC]
This is not an error in the MS SQL extension, as you are using ODBC functions to fetch data.

Microsofts new datatypes ntext nad nvarchar is not suported in the MS SQL extension, as they are not supported in Microsofts C-library. The will always be returned as a varchar with a max length of 255 bytes.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Jun 07 16:03:41 2023 UTC