Solved

Call to undefined function mcrypt_get_iv_size() -Error

Posted on 2009-04-10
1
1,018 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

813 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

18 Experts available now in Live!

Get 1:1 Help Now