How to install PHP with mcrypt

Posted on 2009-05-11
Medium Priority
Last Modified: 2013-12-13

I want to install mcrypt with php:

os: Operating system Linux 2.6.9-023stab048.6-smp
php: http://theproviders.us/phpinfo.php - this contain all information.

Please this module is a bottleneck / show stopper.
Please need your assistance guidance, urgently.

Thanks in advance.
Question by:el123
  • 3
  • 2
LVL 10

Accepted Solution

bob_the_builder earned 2000 total points
ID: 24356793
Which ones is it? your title says you want to install PHP with mcrypt, but the text says you want to install mcrypt with PHP?

Anyway - Installing PHP with mcrypt = http://www.gidforums.com/t-1009.html

This may help too.... http://www.linuxforums.org/forum/redhat-fedora-linux-help/44539-installing-mcrypt-what-do-work-php.html

Author Comment

ID: 24356988
Sorry boss, new to this, basically scenario is some thing like this:

I've bought a software, and this module is there req.
and the most interesting par is ... that they are not assisting in installing.

I've already download the mcryp, unzip it and then

first I ran only: ./configure
and it gives a log file

and when I say make or make install not doing any thing
and have restart the server too, but still not showing mcrypt there

attached is the log file: config.log

please have a look and update ... what I'm still missing.
Thanks a million for your help, as struggling here for quite some time, less then a week.

Best regards,
LVL 10

Expert Comment

ID: 24357086

No worries... Take a look at this and follow the steps on here, it seems as though a number of libraries have to be installed prior to the actual installation of mcrypt itself




A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.


Author Comment

ID: 24357329
But Bob, do I need to do all those steps or just the mcrypt one, as have already did mcrypt one already, and got this log file

Author Comment

ID: 24357339
my os is centos-5-x86_64

Expert Comment

ID: 24359820
It seems that you already install mcrypt with PHP.

Is there a specific reason to reinstall PHP again?

If there is, do you need a package or do you want to recompile from source?

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
I recently worked on a Wordpress site that utilized the popular ContactForm7 (https://contactform7.com/) plug-in that only sends an email and does not save data. The client wanted the data saved to a custom CRM database. This is my solution.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question