mcrypt in php5

Ryan Schmidt ryandesign at macports.org
Thu Aug 6 19:24:07 PDT 2009


On Aug 6, 2009, at 06:57, Mark Hattam wrote:

> 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 = "./"

Remove or comment out (by prepending a semicolon) the above line.


> ; 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?




More information about the macports-users mailing list