LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 09-26-2008, 10:00 PM   #1
RMLinux
Member
 
Registered: Jul 2006
Posts: 224

Rep: Reputation: 31
Cannot load mcrypt extension. Please check your PHP configuration.


Dear Friends,
I installed the phpmyadmin and that is the error message in the browswer.
What am I going to do?

Here's my Problem.

1. Cannot load mcrypt extension. Please check your PHP configuration.

2. The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.

thanks.
 
Old 09-26-2008, 10:19 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Can you try the following as root:
# yum install php-mcrypt
 
Old 09-26-2008, 10:52 PM   #3
RMLinux
Member
 
Registered: Jul 2006
Posts: 224

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by mjmwired View Post
Can you try the following as root:
# yum install php-mcrypt
thanks, by the way
I am using RHEL4 sorry I don't have yum.
any command for rpm?
 
Old 09-26-2008, 11:05 PM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Can't you get updates from the RedHatNetwork for subscribers?

Yes download the php-mcrypt RPM from however you download RHEL packages and run
# rpm -ivh php-mcrypt-VERSION.rpm
(whatever the proper filename is)

It may have some dependancies, I am not sure.
 
Old 09-26-2008, 11:16 PM   #5
RMLinux
Member
 
Registered: Jul 2006
Posts: 224

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by mjmwired View Post
Can't you get updates from the RedHatNetwork for subscribers?

Yes download the php-mcrypt RPM from however you download RHEL packages and run
# rpm -ivh php-mcrypt-VERSION.rpm
(whatever the proper filename is)

It may have some dependancies, I am not sure.
I use google http://rpmfind.net/linux/RPM/sourcef....1.1.i386.html

and I arrived on the first site.

http://rpmfind.net/linux/RPM/sourcef....1.1.i386.html

I will try this...If success I will post here...wish me luck! :-)
 
Old 09-26-2008, 11:37 PM   #6
RMLinux
Member
 
Registered: Jul 2006
Posts: 224

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by RMLinux View Post
I use google http://rpmfind.net/linux/RPM/sourcef....1.1.i386.html

and I arrived on the first site.

http://rpmfind.net/linux/RPM/sourcef....1.1.i386.html

I will try this...If success I will post here...wish me luck! :-)
\error: Failed dependencies:
libmcrypt.so.4 is needed by php-mcrypt-4.3.9-3.1.1.i386

sorry I am not successful! try again... wrong version...may be.




here's another link on the same page... mcrypt.so http://rpmfind.net/linux/rpm2html/se...uery=mcrypt.so

which one fit to RHEL4 2.6.9-55.ELsmp

Last edited by RMLinux; 09-26-2008 at 11:57 PM.
 
Old 07-29-2010, 04:18 PM   #7
sngs87
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
well, the earlier suggestions didn't work...

OK... using some version of Red Hat and this is my very first time getting to actually do work in Linux. Received two error (warning) messages from phpMyAdmin upon entering login screen. Yum solved the other one, but Yum replied:

yum install php-mcrypt
Loaded plugins: rhnplugin, security
Setting up Install Process
No package php-mcrypt available.
Nothing to do

So, under the circumstances, since I can't have access to the person who installed Linux (2 days ago) and don't know how the Red Hat version was acquired, what can I do now? Preferably, answers addressing what I should do would be appreciated! TIA

(p.s., first post on this forum)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SuSe 10 - PHPMyAdmin, Cannot Load PHP Session Extension mindjet Suse/Novell 2 02-19-2006 11:39 AM
php cannot load mysql extension no_names_left Linux - Software 4 03-02-2005 08:31 PM
php-mcrypt? nigeledge Linux - Software 0 10-03-2004 10:39 AM
php mcrypt shared configuration option Pete Dogg Linux - Software 1 02-22-2004 01:00 PM
php and mcrypt mayankjohri Linux - General 3 06-29-2002 05:20 AM


All times are GMT -5. The time now is 12:39 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration