segfault with unixODBC (DB2) + PHP + CentOS
问题 After 2 days battling, I try asking help here. I'm using unixODBC (2.2.11) to work with DB2 (iSeries) and PHP (5.3) on a CentOS 5.4 server. I guess it's since the upgrade of PHP from 5.1 to 5.3, I get PHP to segfault on certain queries. After some investigation, I discovered the problem appears on some queries with long char fields, for example with this table : TABLE ( CONTRACTID NUMERIC, SOMETEXT CHAR(583) ) This simple piece of code provokes the segfault : try { $conn = new PDO("odbc:".