Re: PHP 4.0 Bug #6757: mcrypt_module_open

From: Date: Fri, 15 Sep 2000 11:33:56 +0000
Subject: Re: PHP 4.0 Bug #6757: mcrypt_module_open
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-33306@lists.php.net to get a copy of this message
Hello there, It seems that the CVS server is out of the air.... now I can't update the docs about it. Derick tgk@digitalstreams.net wrote: > 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. > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Derick Rethans JDI Media Solutions H.v.Tussenbroekstraat 1 6952 BL Dieren The Netherlands e-mail: d.rethans@jdimedia.nl http://www.jdimedia.nl/

« previous php.dev (#33306) next »