Turck MMCache is a free PHP accelerator, optimizer, encoder, and dynamic content cache. It increases performance of PHP scripts by caching them in a compiled state, so that the overhead of compiling is almost completely eliminated. It also uses some optimizations for speeding up PHP scripts' execution. It typically reduces server load and increases the speed of PHP code by 1-10 times. It is tested with PHP 4.1.0-4.3.3, and Apache 1.3 and 2.0 under Linux and Windows.
| Tags | Software Development Libraries php classes Code Generators Internet Web Site Management HTTP Servers Dynamic Content |
|---|---|
| Licenses | GPL |
| Operating Systems | Unix POSIX Linux Windows Windows Windows |
| Implementation | PHP C |
Recent releases


Changes: Some PHP5 specific optimization bugs were fixed. Compatibility with "pcntl" extension was fixed. This release was tested with php-4.3.4.


Changes: This release has been tested with php-5.0.0b2; older PHP5 betas are no longer supported. MMCache is now compatible with DBG, Xdebug, and APD (EXPERIMENTAL). Handling of unclean PHP shutdowns has been implemented. The "MMCache does not initialize itself on Apache restart" bug has been fixed.


Changes: The new API functions mmcache_lock and mmcache_unlock have been implemented. A shared memory corruption bug has been fixed. A bug in encoder.php has been fixed.


Changes: If mmcache.check_mtime is 1, the file's modification time and size are also checked. A bug with overloaded object handling in the optimizer was fixed, and some problems with file identification by inode were solved. A possible crash in mm_malloc() was fixed, and Solaris compatibility was fixed. This release has been tested on AIX.


Changes: An Encoder/Loader object inheritance bug was fixed along with problems with incorrect optimization of "!(strlen($string)!=0)", session handler registration on "graceful apache restart", and some 64-bit specific systems. The check for builtin_functions durng class storing was removed. Locking of disk cache files was implemented. This release was tested with php5-200309300930.
- All comments
Recent commentsBravo!
Works as advertised. No major problems compiling and configuring it for use with Mac OS X.
And updates to the software appear to be fairly regular.
Nice benchmark results
I got speed up on php scripts by 2-3 times with Turck MMcache. If you want better results - try to disable optimizing.
Works nicely
I just tried this out on Windows and it works really nice. Easy installation, ms visual c++ project files included, precompiled windows binaries available(!) - and even on a non-production machine when testing with only one client I noticed a speed increase.
Though I couldn't test it in a production environment - highly recommended, even if just for fun ;-)
Cheers!
Highly recommended on *nix and windows
I use php mostly on linux and windows, and this is the only accelerator that works well on both platforms. A fantastic piece of work.
The Best
The best of the free PHP Accelerators.
This, along with mod_gzip, will make your webserver fly.