mcrypt in php5

Mark Hattam mark at dxradio.demon.co.uk
Mon Aug 10 17:35:30 PDT 2009


On 7 Aug 2009, at 03:24, Ryan Schmidt wrote:

>
> 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.

Yes that made it work.

So we really no longer specify the extensions directory?




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