mcrypt in php5

Mark Hattam mark at dxradio.demon.co.uk
Thu Aug 6 04:57:50 PDT 2009


I already had php5 installed which recently got upgraded to 5.3.0

sudo port installed
     php5 @5.3.0_1+apache2+macosx+mysql5 (active)

But now phpMyAdmin complains that mcrypt is not installed (it used not  
to complain this way)
     Cannot load mcrypt extension. Please check your PHP configuration.

So I've now done a
     sudo port install php5-mcrypt

and it shows as
       php5-mcrypt @5.3.0_0 (active)

However phpMyAdmin still doesn't "see" mcrypt.

php.ini has

; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
extension_dir = "./"
; On windows:
; extension_dir = "ext"

which it had already, and looks to be what the php5-mcrypt installer  
said to check.

So what is there to check now?


Mark


More information about the macports-users mailing list