php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16827 DB2 access fails under PHP4.2.0
Submitted: 2002-04-25 13:57 UTC Modified: 2002-05-13 18:42 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: dpiper at stens dot com Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 4.2.0 OS: Linux, Debian 2.2
Private report: No CVE-ID: None
 [2002-04-25 13:57 UTC] dpiper at stens dot com
I have noticed that all the DB2 (v7.1) accessing code (via the unified ODBC functions) fails to be able to gather results under PHP4.2.0.

PHP is not crashing, and script execution continues past the points of failure, and no error messages are displayed or logged. It appears that there is just no data coming back from the odbc_do() function, although the return code of odbc_fetch_into() is greather than zero.

PHP configure line: 

--with-apache=../apache --enable-trans-sid --with-zlib --with-mysql=/usr/local/ --with-ibm-db2=/usr/IBMdb2/V7.1/ --with-ldap --with-mcrypt --with-imap --with-gd=/usr/ --with-png-dir=/usr/ --with-jpeg-dir=/usr/

Yes, I know there's a lot of stuff compiled in, but I need and use it all :)

I have done a clean build every time for my setup, and the results are the same with PHP 4.2.0.

PHP 4.1.2 does NOT exhibit this problem, using the same compile time options as above - and running on the exact same pages on the same machine, even a recompile with PHP4.1.2 yields a fully working system.

Thanks,

Derek

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-13 18:42 UTC] kalowsky@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC