[PHP-DEV] PHP 4.0 Bug #6757 Updated: mcrypt_module_open From: Bug Database (php-dev <email protected>)
Date: 09/30/00

ID: 6757
Updated by: derick
Reported By: tgk <email protected>
Status: Closed
Bug Type: *Configuration Issues
Assigned To:
Comments:

Forgot to close

Previous Comments:
---------------------------------------------------------------------------

[2000-09-16 17:55:27] derick <email protected>
It's fixed in the phpdoc-cvs

---------------------------------------------------------------------------

[2000-09-14 09:03:33] tgk <email protected>

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.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=6757

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>