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
Solved

Call to undefined function mcrypt_get_iv_size() -Error

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

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…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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.

829 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