PHP 4.0 Bug #6018: Concating columns in Ms Access 2000 - fatal error
| From: | kori_mail at hotmail dot com | Date: | Tue, 08 Aug 2000 12:14:43 +0000 |
| Subject: | PHP 4.0 Bug #6018: Concating columns in Ms Access 2000 - fatal error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28075@lists.php.net to get a copy of this message | ||
From: kori_mail@hotmail.com
Operating system: Windows 2000 Pro with SP1
PHP version: 4.0.1pl2
PHP Bug Type: ODBC related
Bug description: Concating columns in Ms Access 2000 - fatal error
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