XenForo - WinCache Support - x-MoBiLe
Category: Forum Boards (depraced!)
- views: 22 806
- date: 15 October 2010
- posted by: SKRiPTERZ.iNFO
Hi guys,
This is for the people who are using WinCache for PHP on the Windows Platform. For this to work, you need to be using at least WinCache 1.1. I have, however, tested and built against WinCache 1.2 dev.
If you plan to install WinCache 1.1, please ensure you meet its prerequisites, the most important that PHP must be running under FastCGI.
This build is currently untested on Apache for Windows, however, it does work on IIS 6.0 +. I expect it to be somewhat successful with Apache for Windows.
The files I am including will replace 1 file in the XenForo Zend Framework folder, and will add 1 file.
CODE
Files
/
/ Library/ Zend/ Cache/ BackendWinCache.phpCache.php
To activate the caching mechanis, please add the following to your config.php folder, found in /library/:
CODE
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => true,
'lifetime' => 10800,
'cache_id_prefix' => 'XenForo'
);
$config['cache']['backend'] = 'WinCache';
This is for the people who are using WinCache for PHP on the Windows Platform. For this to work, you need to be using at least WinCache 1.1. I have, however, tested and built against WinCache 1.2 dev.
If you plan to install WinCache 1.1, please ensure you meet its prerequisites, the most important that PHP must be running under FastCGI.
This build is currently untested on Apache for Windows, however, it does work on IIS 6.0 +. I expect it to be somewhat successful with Apache for Windows.
The files I am including will replace 1 file in the XenForo Zend Framework folder, and will add 1 file.
CODE
Files
/
/ Library/ Zend/ Cache/ BackendWinCache.phpCache.php
To activate the caching mechanis, please add the following to your config.php folder, found in /library/:
CODE
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => true,
'lifetime' => 10800,
'cache_id_prefix' => 'XenForo'
);
$config['cache']['backend'] = 'WinCache';
Information |
|||
![]() |
Users of GUESTS are not allowed to comment this publication. | ||









