Enable Memcached in Typo3 6.x

After the upgrade of Typo3 from version 4.7.x to 6.x a lot of things changed. I managed to make the transition quite smoothly but the memcache configuration gave me quite a headache because nothing was directly explained in the net – I had to pick through a lot of pieces to make it work, so maybe I can spare You the time.

To enable Memcached in Typo3 6.x for backend and frontend pages create a File named AdditionalConfiguration.php in the the folder typo3conf with the following content:

<?php
$GLOBALS['TYPO3_CONF_VARS']['SYS']['useCachingFramework'] = '1';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = 'TYPO3\CMS\Core\Cache\Backend\MemcachedBackend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['options'] = array('servers' => array('localhost:11211'),);
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['backend'] = 'TYPO3\CMS\Core\Cache\Backend\MemcachedBackend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['options'] = array('servers' => array('localhost:11211'),);
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['backend'] = 'TYPO3\CMS\Core\Cache\Backend\MemcachedBackend';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['options'] = array('servers' => array('localhost:11211'),);
?>

Obviously change the memcached server address and port if needed.

Windows 8: Winmail and TLS

I was just configuring my Windows 8 Test-Installation on my Laptop for my e-mail account -the Standard Winmail App on the Surface. I noticed there is only a configuration option for legacy ssl and not tls – my account being setup as standard IMAP TLS and SMTP TLS, so I was wondering. Short googling revealed that just entering your server and login credentials without activation the „this server uses ssl“ hooks should result in Winmail using TLS if offered by the server.

„Lucky“ as I am hosting my e-mail and my webpages myself I can confirm this behaviour: My IMAP and SMTP services offer TLS and as I can see in the log files Winmail connects and starts the TLS session correctly and supplies the credentials after the encrypted connection is established.