Cannot load mycrypt extension

Asked by Al_G

I just installed the MediaWki appliance. It seems to be running fine, but when I go to phpMyAdmin and login, I get an error message in a yellow box that says "Cannont load mycrypt extension. Please check your php confitguration." Is this normal? I didn't see anything about it looking around the documentation, but maybe I was going too fast...

Thanks--

Al

Question information

Language:
English Edit question
Status:
Solved
For:
TurnKey Linux Edit question
Assignee:
No assignee Edit question
Solved by:
Alon Swartz
Solved:
Last query:
Last reply:
Revision history for this message
Alon Swartz (alonswartz) said :
#1

Thanks for reporting this, it seems to be a bug in the mediawiki 2009.02 release.
I'll look into what caused it, but in the meantime here is a simple fix:

echo "extension=mcrypt.so" >> /etc/php5/apache2/php.ini
/etc/init.d/apache2 restart

Revision history for this message
Al_G (al-gaspar-va) said :
#2

OK. I echoed "extension=mycrypt.so" onto the end of /etc/php5/apache2/php.ini and restarted apache. It didn't make any difference; so I did a reboot on the machine. I'm still getting the same error message.

Revision history for this message
Best Alon Swartz (alonswartz) said :
#3

It's "mcrypt", not "mycrypt".

Revision history for this message
Al_G (al-gaspar-va) said :
#4

Sorry. My bad. That did the trick. Thanks for your prompt help!

Cheers--

Al

Revision history for this message
Al_G (al-gaspar-va) said :
#5

Thanks Alon Swartz, that solved my question.

Revision history for this message
Alon Swartz (alonswartz) said :
#6

great :)