Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Call to undefined function mcrypt_get_iv_size() -Error

Posted on 2009-05-07
3
Medium Priority
?
3,904 Views
Last Modified: 2013-12-13
I am getting an error "Call to undefined function mcrypt_get_iv_size() -Error "

I guess this could be solved by installing the right package.But i am new to this so could you please help me with this.

My OS is Linux (and is in a production env.)

So doing a YUM solve my problem or do I need to do something in the php.ini and do I need to restart the apache ? Thanks for your time
0
Comment
Question by:micro_learner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
aconrad earned 1500 total points
ID: 24330744
yum sounds good :

yum install php-mcrypt
yum install php-mhash
service httpd restart

0
 

Author Comment

by:micro_learner
ID: 24331146
I did that but it does not seem to work !
This is the output I got when I did the YUM install
 
yum install php-mcrypt
Setting up Install Process
Setting up repositories
system-base               100% |=========================| 1.1 kB    00:00
system-updates-released   100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: php-mcrypt
Nothing to do

[root@host ~]# yum install php-mhash
Setting up Install Process
Setting up repositories
system-base               100% |=========================| 1.1 kB    00:00
system-updates-released   100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: php-mhash
Nothing to do
 
 
Do you think the install went ok ?
0
 
LVL 4

Assisted Solution

by:aconrad
aconrad earned 1500 total points
ID: 24332216
change gpgcheck=1 to 0 in edit /etc/yum.conf
its about unsigned packages.

hope it will work...
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

722 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