| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2005-10-25 19:08 UTC] cdc at ccicon dot com
 Description: ------------ When installing sugarcrm vs 3.5.1a (or earlier) php 5.0.5 generates a out of memory error, or, if >36Meg memory, will generate a segfault. This problem is reproducible with both apache 2.0.54, 2.0.55, sugarcrm 3.5.1, 3.5.0, 3.0. I also tested the php 5.0.6-dev snapshot from 200510251443 and it exhibited the same problem. Php 5.0.4 does not exhibit this problem. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 15:00:01 2025 UTC | 
The zend.ze_compatiblity_mode is set to 1 in the index.php file and several other files using the following test for php version number if (substr(phpversion(), 0, 1) == "5") { ini_set("zend.ze1_compatibility_mode", "1"); } Disabling this option (ie zend.ze_compatiblity_mode=0) under php 5.0.5 and under the last cvs snapshot that was recommended seems to solve this race condition. I have not tested the code fully to see that this hasn't introduced other problems. However, it does remove the out of memory and segfault problems. Were there changes made in php 5.0.5 and later that make this option obsolete. Or, will disabling this condition lead to other compatility issues? TTYL CDC