Turck MMCache failing on Mac OS X 10.3.7 (client)

| 2 Comments

I’m trying to get the php accelerator MMCache running on a Mac running Mac OS X 10.3.7, and it’s failing. I’ve followed the install instructions on Jacken’s weblog, and tried the install process described in this Appletalk Australia article.

I did have to install fink, as described in Jacken’s post. After completing the install, when I restart apache

sudo apachectl graceful

it says httpd started, and I do not get any errors in apache’s error_log, but httpd afterward is not running.

myhost:/tmp/turck-mmcache-2.4.6 steve$ ps -ax | grep -v grep | grep httpd
752 p2 S+ 0:00.00 tail -f /var/log/httpd/error_log

Restarting apache again, error_log includes the following line:

[Tue Feb 1 09:25:45 2005] [warn] pid file /private/var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

mmcache.so is in /usr/local/php/extensions/no-debug-non-zts-20020429/, as described in the recommended modifications to php.ini:

; Turck MMCache
zend_extension="/usr/local/php/extensions/no-debug-non-zts-20020429/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"

I would be very interested to know if anyone has gotten this working or, better yet, if they had this same issue and found a workaround.

2 Comments

Try to download a precompiled binary that you can find here. This should help you get it to work.

Jacken

It actually sounds like you might have two instances of httpd running. Any chance that fink's apache and the apache that comes with OSX are both trying to run at the same time, perhaps trying to use the same pid file?

Leave a comment

R.E.M. Says:

About this Entry

This page contains a single entry by Steve published on February 1, 2005 4:45 PM.

The Inauguration was the previous entry in this blog.

Upgraded! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID