LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Cannot load mcrypt extension. Please check your PHP configuration. (https://www.linuxquestions.org/questions/red-hat-31/cannot-load-mcrypt-extension-please-check-your-php-configuration-672627/)

RMLinux 09-26-2008 09:00 PM

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.

mjmwired 09-26-2008 09:19 PM

Can you try the following as root:
# yum install php-mcrypt

RMLinux 09-26-2008 09:52 PM

Quote:

Originally Posted by mjmwired (Post 3292980)
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?

mjmwired 09-26-2008 10:05 PM

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.

RMLinux 09-26-2008 10:16 PM

Quote:

Originally Posted by mjmwired (Post 3293011)
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! :-)

RMLinux 09-26-2008 10:37 PM

Quote:

Originally Posted by RMLinux (Post 3293019)
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

sngs87 07-29-2010 03:18 PM

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)


All times are GMT -5. The time now is 05:17 PM.