|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6757 mcrypt_module_open
Submitted: 2000-09-14 09:03 UTC Modified: 2000-09-30 18:19 UTC
From: tgk at digitalstreams dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.2 OS: Slackware Linux 7.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tgk at digitalstreams dot net
New email:
PHP Version: OS:


 [2000-09-14 09:03 UTC] tgk at digitalstreams dot net
The online documentation at 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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-16 17:55 UTC]
It's fixed in the phpdoc-cvs
 [2000-09-30 18:19 UTC]
Forgot to close
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 18:01:28 2024 UTC