NYCPHP Meetup

[nycphp-talk] mcrypt_encrypt

Michael B Allen ioplex at gmail.com
Sun Jan 25 16:23:45 EST 2009


On Sun, Jan 25, 2009 at 2:43 PM, Michele Waldman <mmwaldman at nyc.rr.com> wrote:
> I got an undefined function error on mcrypt_encrypt.
>
> It looks to be an extension.  I downloaded the source code.
>
> I'm guessing my hosting provider didn't include it.  So what's new?
>
> I see a lot on line about using use_entension=php_mcrypt.dll, but that's in
> a windows environment.
>
> Does anyone know?  If I have to do anything in the php.ini file to use
> mcrypt on linux/apache/redhat?  Or if it's installed it just works?

If you're using Red Hat just do:

  # yum install php-mcrypt
  ...y<enter>
  # apachectrl restart

Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/



More information about the talk mailing list