ID: 6018
Updated by: kalowsky
Old-Status: Feedback
Status: Closed
Bug Type: ODBC related
PHP Version: 4.0.1pl2
Assigned To: 

no user feedback, considered fixed.  if not, please reopen the bug.

Previous Comments:

[2001-03-31 11:14:40] [EMAIL PROTECTED]
does this happen with a new release of PHP?


[2000-08-08 08:14:43] [EMAIL PROTECTED]
When I try to concating columns in MS Access 2000 using PHP odbc_exec() function, the 
Apache server shows me "500 - Internal server error" page and in the Apache error log 
is this message:

[Tue Aug 08 13:54:04 2000] [error] [client] Premature end of script headers: 
[Tue Aug 08 13:54:04 2000] [error] [client] FATAL:  emalloc():  Unable to 
allocate 2147483599 bytes

Before updating Windows 2000 with SP1, there was not this error. 

Sample script:


@$cn = odbc_connect("dns", "user", "pass");

$query = odbc_exec($cn, "SELECT name&surname AS people FROM users");


Other SQL queries (without concating commands)works fine.

OS: Windows 2000 prof. with SP1
PHP: 4.0.1pl2 (standard Win32 binaries) - CGI
WWW: Apache 1.3.12 running as service

Maybe is something wrong in W2K SP1, not in PHP...

Best regards,

Jiri Kori


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to