php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6018 Concating columns in Ms Access 2000 - fatal error
Submitted: 2000-08-08 08:14 UTC Modified: 2001-04-25 10:37 UTC
From: kori_mail at hotmail dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.1pl2 OS: Windows 2000 Pro with SP1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kori_mail at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-08-08 08:14 UTC] kori_mail at hotmail dot com
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 127.0.0.1] Premature end of script headers: c:/php4/php.exe
[Tue Aug 08 13:54:04 2000] [error] [client 127.0.0.1] FATAL:  emalloc():  Unable to allocate 2147483599 bytes

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

Sample script:

<?php

@$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
PHP.INI: PHP.INI-DIST renamed to C:\WINNT\PHP.INI
WWW: Apache 1.3.12 running as service


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


Best regards,

Jiri Kori


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-31 11:14 UTC] cynic@php.net
does this happen with a new release of PHP?
 [2001-04-25 10:37 UTC] kalowsky@php.net
no user feedback, considered fixed.  if not, please reopen the bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 00:01:29 2025 UTC