Config Suitecrm for Memcache

Hello,

I have searched and searched for a solution, but all I could find was a resourse that said to edit the config.php file and add this snippet:

/**

  • Memcache config
    */
    $GLOBALS[‘sugar_config’][‘external_cache’][‘memcache’][‘host’] = ‘<<127.0.0.1>>’;
    // Only need the next line if the memcache server port is different than the default of 11211
    $GLOBALS[‘sugar_config’][‘external_cache’][‘memcache’][‘port’] = ‘<<11211>>’;

I already have memcache installed and use it with all the sites I manage…but I am assuming some of the code above is not right for current versions of suitecrm???

Can you please advise what I need to do to get Suitecrm using Memcache?

Thanks,