LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-23-2010, 03:13 AM   #1
singh_chitranjan
Member
 
Registered: Jun 2008
Posts: 33

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


Dear Experts,

i have centos 5 running with apache, mysql, php and phpmyadmin. phpadmin is working well but it is showing the following error on the page:-
Cannot load mcrypt extension. Please check your PHP configuration.
i just try to install mcrypt but it is asking for required dependencies libmcrypt. so please help me to resolve the same.

Thanks
 
Old 11-23-2010, 05:49 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Not sure how much of this you did using packages?

I try never to use packages, instead compiling everything I need exactly to spec and configuring them the way I want.

If I were you I'd first download the libmcrypt package, install that, then try mcrypt. Not sure if you'll also need to re-install your PHP package in order to get it to recognize (and possibly be automagically compiled with) mcrypt support included.

If you were using a non-package approach, you'd download the libmcrypt source code tarball. Then you'd compile it, then (if it is a standalone package) compile mcrypt, and make sure you ./configured it to use libmcrypt, if it does not do so automatically. Then, you'd recompile your PHP instance, and make sure that it is set (usually via ./configure directives, if it does not attempt to do so automatically) to use mcrypt and "compile in" support for it into your PHP binary.

This should result in mcrypt support being available in your PHP instance.
 
  


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
Cannot load mcrypt extension. Please check your PHP configuration. RMLinux Red Hat 6 07-29-2010 03:18 PM
PHP Extension will not load xborg Linux - Software 1 10-22-2009 04:39 AM
Magento Install: dom extension and mcrypt extension mjdb Linux - Newbie 0 02-21-2009 02:58 AM
php cannot load mysql extension no_names_left Linux - Software 4 03-02-2005 07:31 PM
php mcrypt shared configuration option Pete Dogg Linux - Software 1 02-22-2004 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:31 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
Open Source Consulting | Domain Registration