Solved

Call to undefined function mcrypt_get_iv_size() -Error

Posted on 2009-04-10
1
1,013 Views
Last Modified: 2013-12-13
I am new to PHP and one of my application gives me an error when I run it on my server.I have root permissions on this server .Its is a Linux server.

What is the best way to install this php lib .Is there something simple like YUM  :-)

I have limited knowledge in PHP ..and fair knowledge with Linux.

Thanks for your time.
0
Comment
Question by:micro_learner
1 Comment
 
LVL 9

Accepted Solution

by:
Mahdii7 earned 500 total points
ID: 24120781
I tent to install all my PHP libs with yum.. I have a set of custom repos though, so see if this works for you.. Or similar...

Cheers
]# yum list | grep mcrypt
 

/*

gyachi-plugin-mcrypt.i386           1.1.61-1.el5              epel

libmcrypt.i386                      2.5.7-5.el5.art           atomic

libmcrypt-devel.i386                2.5.7-5.el5.art           atomic

mcrypt.i386                         2.6.8-1.el5               epel

php-mcrypt.i386                     5.2.9-2.el5.art           atomic

*/
 

yum install php-mcrypt.i386

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now