Ok, I just spent 1.5 hours trying to do it myself on 10.6.7
I believe the solution was as follows:
I installed php5-mcrypt + universalusing macports:
$ sudo macports php5-mcrypt +universal
then you cannot just put extension=mycrypt.soin the file php.ini, you have to put the direct path ie:
extension = /opt/local/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
you see, php looks to /usr/local/lib/php/extensions/no-debug-non-zts-20090626/
be the difference i missed!
Then just restart apache with
$ sudo apachectl -k graceful
and then
$ php -m | grep mcrypt
to make sure of this.
Hope this helps someone!
source
share