Linux Slackware + phpMyAdmin + mcrypt does'nt work!
Hello All!
There was a thread about this problem in this forum but it has not helped me. PhpMyAdmin gives the message: "Cannot load mcrypt extension. Please check your PHP configuration." I compiled libmcrypt, mcrypt and php with appropriate SlackBuilds, and, when it did not help, tried varios variants of the set. All the same it does not work. May be somebody knows what exactly must be done? A key, that must go with a configure script, or something like that. Thanks in advance. |
works fine here with the defaults (but I'm on current), maybe it depends on your setup:
- which version of slackware are you using? - have you installed phpmyadmin from slackbuilds.org? maybe you need also the mcrypt package from there (no libmcrypt). - why are you rebuilding php? |
I've tried distributiv versions 11.1 and 12.2, with the same result.
No, from phpMyAdmin official web site. That may be an idea! That was the method: http://www.linuxquestions.org/questi...12-2-a-692117/ |
you don't have to follow that thread, it's old.
if you are starting from scratch install latest stable slackware and then mcrypt and phpmyadmin from slackbuilds.org (read notes in their README). not really sure if mcrypt is needed, on -current it works fine without it. |
I think you'll find that mcrypt has been included since 13.0
|
oops :)
|
tried to put down some small suggestions on a basic LAMP setup.
|
I've had this up for a while.
http://connie.slackware.com/~mrgobli...kware-lamp.php Not a big fan of phpmyadmin myself but each to their own I guess. |
thanks mrgoblin, much more exhaustive than my notes: I linked it in the post. :)
|
I've got a server working under Slackware 11.1, but the oldest version of phpMyAdmin on slackbuilds.org is for Slackware 12.2. I've tried it on my server (along with mcrypt for the same 12.2 version) and it still doesn't work.
What exactly I did: Downloaded the latest phpMyAdmin(followed the link for 12.2 version) and appropriate slackbuild script from slackbuilds.org, compiled it and copied to the apropriate directory; Did the same for the appropriate mcrypt; Compiled and installed mcrypt.so module for php (By the way, does anybody know how to see if a module really is loaded?). There are many running services on my server and I do not want to try to upgrade it to a latter version. If somebody has any farther suggestions how to get it working, I'd be very grateful! |
shakin, please can you clarify which slackware version your server is running? I'm asking because slackware 11.1 has never been released. ;)
Code:
cat /etc/slackware-version |
Quote:
Slackware 11.1.0 |
Code:
php -i |grep "Stream Filters" Code:
Registered Stream Filters => mcrypt.*, mdecrypt.*, bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, convert.iconv.*, zlib.* |
I've resolved it. The problem was - php did not read php.ini, and a few last changes just did not take efect. A little extra work has been done too. :)
Thanks too all! |
All times are GMT -5. The time now is 09:44 AM. |