简体   繁体   English

函数mcrypt_encrypt()在Wamp中不起作用(PHP版本5.2.6)

[英]Function mcrypt_encrypt() Not working in Wamp(PHP Version 5.2.6)

When I try to use this mcrypt_encrypt() function I am getting following error. 当我尝试使用此mcrypt_encrypt()函数时,出现以下错误。

Fatal error: Call to undefined function mcrypt_encrypt() in C:\\wamp\\www\\PHP_Kit\\FORM_PHP\\includes.php on line 307 致命错误:在第307行的C:\\ wamp \\ www \\ PHP_Kit \\ FORM_PHP \\ includes.php中调用未定义的函数mcrypt_encrypt()

Help Me. 帮我。

Make sure libmcrypt.dll and mcrypt.dll is in your path. 确保libmcrypt.dll和mcrypt.dll在您的路径中。

Also make sure you have the following line in php.ini: 另外,请确保您在php.ini中包含以下行:

extension=php_mcrypt.dll

You need to add the mcrypt module to your PHP installation. 您需要将mcrypt模块添加到PHP安装中。 Refer to the PHP mcrypt manual here - http://in3.php.net/manual/en/mcrypt.setup.php 请参阅此处的PHP mcrypt手册-http: //in3.php.net/manual/en/mcrypt.setup.php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM