|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35573 SELECT query which retrieves BLOB data causes php engine crashes.
Submitted: 2005-12-06 19:07 UTC Modified: 2005-12-16 01:00 UTC
Avg. Score:4.4 ± 0.8
Reproduced:4 of 5 (80.0%)
Same Version:2 (50.0%)
Same OS:3 (75.0%)
From: zkoumalek at seznam dot cz Assigned:
Status: No Feedback Package: Informix related
PHP Version: 5.1.1 OS: Windows XP Prof.
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-12-06 19:07 UTC] zkoumalek at seznam dot cz
I have Informix server version 9.4 on my computer with Windows XP prof and PHP 5.1.1 with ESQL/C Version 9.21. I tried the latest php snapshot with the same result. When I want to retrieve BLOB data from Informix database, my php engine crashes. The problem is with ifx_query() function. When I want to retrieve non BLOB data, everything work perfectly.

Reproduce code:
$con = ifx_pconnect( "test@myserver", "user", "password" );
echo $con;
$res = ifx_query( "SELECT test_blob FROM test_table", $con );
echo $res;

Expected result:
$con != NULL;
$res != NULL;

Actual result:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Php engine crashes and I can see, that there is some problem in ModName: php_ifx.dll.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-06 23:00 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-12-08 14:26 UTC] zkoumalek at seznam dot cz
I tried the latest version with the same result. When I want to retrieve blob data from database, php engine crashes.
 [2005-12-08 17:12 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2005-12-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-11-12 08:09 UTC] jamal8t2 at yahoo dot com
your manual is very informative
 [2007-11-12 08:14 UTC] jamal8t2 at yahoo dot com
I hava php4.3 and apache web server i want to use blob data to show images on browser.
I have store blob data in the data base but the Question is now that how i can read blob data from the data base.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 09:01:29 2024 UTC