|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48505 PHP-Informix ifx_fetch_row, text data type crash solution
Submitted: 2009-06-09 13:47 UTC Modified: 2009-06-09 17:52 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: amitshahc at hotmail dot com Assigned:
Status: Closed Package: Informix related
PHP Version: 5.2.9 OS: RHEL5, any linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
10 + 32 = ?
Subscribe to this entry?

 [2009-06-09 13:47 UTC] amitshahc at hotmail dot com
Solution: related to PHP Bugs: #32954 & #8715.

I think it's memory issue with apache handling the informix result id. with text datatype. i don't know exactly as i am not ESQL/C developer. but i used a combination of settings before executing the select query which have the text field in the result.


will return the blob id, in text field value instead of the giving text contect directly into that field. 

then do 
will return the file name. and then read that file content, store it in the variable. and delete the file. 

again crashes the php script sometimes. so don't do it. 

but you can do ifx_free_result($resultId); at the end of the script.

All The Best...
Amit Shah


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-09 13:51 UTC] amitshahc at hotmail dot com
sorry, this bug means not solutions but let us consider it as a trick or tip or the way to overcome the bug.

 [2009-06-09 17:52 UTC]
The informix database driver is not bundled with PHP, plus it doesn't seems to be maintained anymore:

Try re-report the bug there, even though I wouldn't expect a response, sorry
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 05:01:31 2024 UTC