PHP 4.0 Bug #6757: mcrypt_module_open
| From: | tgk at digitalstreams dot net | Date: | Thu, 14 Sep 2000 13:03:33 +0000 |
| Subject: | PHP 4.0 Bug #6757: mcrypt_module_open | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33283@lists.php.net to get a copy of this message | ||
From: tgk@digitalstreams.net
Operating system: Slackware Linux 7.0
PHP version: 4.0.2
PHP Bug Type: *Configuration Issues
Bug description: mcrypt_module_open
The online documentation at www.php.net under "mcrypt" states in example #2 that you
should use the line:
$td = mcrypt_open_module (MCRYPT_TripleDES, "", MCRYPT_MODE_ECB);
However the function mcrypt_open_module does not exist, atleast in my installation of 4.0.2.
However This line does work:
$td = mcrypt_module_open(MCRYPT_TripleDES, "", MCRYPT_MODE_ECB, "");
Is this a typo in the online documentation or a configuration error? I posted a user note against
"mcrypt" in the quick ref section.
I installed libmhash(0.8.2), libmcrypt(2.2.4), and mcrypt(2.5.4), ran ldconfig to update all the
libraries, and configured.