phpMyAdmin says mcrypt is missing, but it's not; cannot log in

Posted by GradysGhost on Server Fault See other posts from Server Fault or by GradysGhost
Published on 2011-08-10T14:46:10Z Indexed on 2012/09/25 3:40 UTC
Read the original article Hit count: 509

Filed under:
|
|

I've just compiled a web stack on Solaris 10. This is a fairly standard Apache 2 / MySQL 5 / PHP 5 stack with all the most recent stable versions. I dropped phpMyAdmin on the server and set up httpd.conf to get that online. When I browse to the page, login fails, and a persistent message appears beneath the login form:

The mcrypt extension is missing. Please check your PHP configuration.

However, I compiled PHP with the --with-mcrypt flag. A file, info.php:

<?php phpinfo(); ?>

shows that mcrypt support is enabled. Running:

php -m

on the command line shows that mcrypt is loaded.

Google hasn't been much help, and I was hoping someone around these parts could throw some help my way. If I need to provide any further detail, please let me know what you need to know.

© Server Fault or respective owner

Related posts about php

Related posts about solaris