Hi there,
After searching through forum and reading some other sites (for example Yii Performance page) about caching in PHP (in general) and in Yii (in particular) I found out (correct me, if I’m wrong) that most often used caching components for Yii are APC and eAccelerator. I would like to use (one of them or any other) to boost up my website, but here comes the worst part: I’m forced to use Windows-based server and XAMPP.
Because I mostly want to cache DB queries, data and operations if I’m not mistaken, I must forget about eAccelerator because of information written on CEAcceleratorCache page, saying:
Second option is APC and here goes APC Installation Page on PHP Manual, saying:
Is this really true? Do I have to install MS Visual Studio and recompile whole PHP daemon from scratch? And why there is no DLL for Windows shipped anymore? Licensee-related problems (damn you, Microsoft!)?
Recompiling PHP is not an option. I’m to less experienced and to lazy on the other hand. I used XAMPP to avoid even configuration-related problems and compilation of own PHP libraries is far beyond what I can achieve. And even if I would manage to do so, all my effort would be ruined with next release of XAMPP, which would probably again come without APC DLL and I would have to again recompile PHP and so on…
Conslusion. If you won’t provide me with some brilliant solution I will have to resign from using both APC and eAccelerator. Then what in your opinion would be best caching component for Yii running under XAMPP and Windows?
And is there any caching component available right out-of-the-box with PHP release? Or any of them must be installed separately via PECL, PEAR or similar way?
Thanks in advance for any advices.