Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Call to undefined function mcrypt_get_iv_size() -Error

Posted on 2009-04-10
1
Medium Priority
?
1,078 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to dynamically set the form action using jQuery.
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 …
Suggested Courses

916 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