Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

undefined function: mcrypt_create_iv()

Status
Not open for further replies.

jwoods7

Technical User
Feb 19, 2003
36
US
I have a script that was given to me for research...but it's giving me this error:

Fatal error: Call to undefined function: mcrypt_create_iv()

From my research on the net, this is a built-in function ??? yes no?

This creates an initialization vector to deal with encrypting cookies....I BELIEVE

Does anyone know why this would show up? Sounds to me like it doesn't see the function because the user hasn't created it...but the user shouldn't have to if it's a built-in function???

thanks in advance for help/advice
 
The PHP documentation says:

You need to compile PHP with the --with-mcrypt[=DIR] parameter to enable this extension.

Check the running installation with phpinfo() or one of the ini parsing scripts in the FAQ section.

On Windows you need the compiled mcrypt binaries.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top