|
Yes. It needed a ./configure --with-mysql=/usr and compiled fine using MySql 4.0.14 (table cache switched on) using the 3.x compatibility libs.
I compiled Turck as written on their page:
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
Then i copied the .so manually to /usr/lib/php4 and added this config lines after all other modules:
extension="mmcache.so"
mmcache.shm_size="16"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.shm_only="0"
mmcache.compress="1"
The cache dir has to be set up manually:
mkdir /tmp/mmcache
chmod 0777 /tmp/mmcache
|