From: <php...@li...> - 2008-04-24 16:19:31
|
Hi Jost, > [PHP crashes on some installations] > > > //WHEN THE FOLLOWING LINE IS ACTIVATED, THE BRIDGE OR PHP CRASHES > > //$batchQuery->addStationData( $stationData ); > > please check if those installations have the PHP 4 compatibility flag set (please see > http://sourceforge.net/tracker/index.php?func=detail&aid=1942948&group_id=117793&atid=679233) and > switch if off at run time, if necessary. It is off, per php.ini: zend.ze1_compatibility_mode = Off > Please check if those installations use a PHP version >= 5.1.4. All earlier PHP 5 versions have a > bug in the zend engine (in the object overloading code) which may cause random PHP crashes. We're using PHP 5.2.5 with Bridge 5.2.0. But we have found a weird hack/fix for the problem. If we do: $batchQuery->addStationData( $stationData ); it crashes. But when we do: $dummy = $batchQuery->addStationData( $stationData ); unset($dummy); It does not crash. Strange! Antonio |