LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2011, 04:49 AM   #1
Shakin_Aleksey
LQ Newbie
 
Registered: Feb 2011
Posts: 15

Rep: Reputation: 1
Question 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.
 
Old 02-11-2011, 05:18 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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?

Last edited by ponce; 02-11-2011 at 05:29 AM.
 
Old 02-11-2011, 07:23 AM   #3
Shakin_Aleksey
LQ Newbie
 
Registered: Feb 2011
Posts: 15

Original Poster
Rep: Reputation: 1
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/
 
Old 02-11-2011, 07:33 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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.

Last edited by ponce; 02-14-2011 at 03:11 AM. Reason: test
 
Old 02-11-2011, 02:25 PM   #5
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
I think you'll find that mcrypt has been included since 13.0
 
Old 02-11-2011, 10:43 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
oops
 
Old 02-13-2011, 01:30 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
tried to put down some small suggestions on a basic LAMP setup.
 
Old 02-13-2011, 02:05 AM   #8
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
1 members found this post helpful.
Old 02-13-2011, 02:26 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
thanks mrgoblin, much more exhaustive than my notes: I linked it in the post.
 
Old 02-14-2011, 04:30 AM   #10
Shakin_Aleksey
LQ Newbie
 
Registered: Feb 2011
Posts: 15

Original Poster
Rep: Reputation: 1
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!
 
Old 02-14-2011, 04:37 AM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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
 
Old 02-14-2011, 05:14 AM   #12
Shakin_Aleksey
LQ Newbie
 
Registered: Feb 2011
Posts: 15

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
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
Exactly from there:

Slackware 11.1.0
 
Old 02-14-2011, 05:23 AM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Code:
php -i |grep "Stream Filters"
should show something like
Code:
Registered Stream Filters => mcrypt.*, mdecrypt.*, bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, convert.iconv.*, zlib.*
 
Old 02-14-2011, 07:02 AM   #14
Shakin_Aleksey
LQ Newbie
 
Registered: Feb 2011
Posts: 15

Original Poster
Rep: Reputation: 1
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mcrypt extension error while using phpMyAdmin on Slackware 12.2 dizzi Slackware 5 01-19-2009 05:41 PM
man does'nt work!! sigge Linux - General 1 12-29-2007 01:12 PM
phpMyAdmin complaining about mbstring and mcrypt sneakyimp Linux - Software 4 10-18-2007 10:30 AM
bittorrent GUI does'nt work setlec_seta Ubuntu 2 08-30-2007 08:17 PM
Mouse - Sometimes work and sometimes does'nt danishmr Linux - Hardware 0 05-09-2002 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration