Skip to content

Instantly share code, notes, and snippets.

@matthewpoer
Last active August 29, 2015 14:01
Show Gist options
  • Save matthewpoer/992f89503064d07e4d36 to your computer and use it in GitHub Desktop.
Save matthewpoer/992f89503064d07e4d36 to your computer and use it in GitHub Desktop.
SugarCRM 7 is only approved for PHP Version 5.3. If you run PHP 5.4 or 5.5 in your development system and need to install Sugar, you'll have to hack a core file to get it to run. Note that SugarCRM is not officially supported on PHP 5.4 or 5.5, but in my experience, it seems to run well enough.
<?php
# /include/utils.php
# line 2980 opens function check_php_version
# just make it return 1
function check_php_version($sys_php_version = '')
{
return '1';
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment