Solved

Call to undefined function mcrypt_get_iv_size() -Error

Posted on 2009-05-07
3
3,664 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 500 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

730 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