PHP 4.0 Bug #10187: Warning: mcrypt module initialization failed
| From: | clewis at myfonts dot com | Date: | Thu, 05 Apr 2001 15:24:02 +0000 |
| Subject: | PHP 4.0 Bug #10187: Warning: mcrypt module initialization failed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50941@lists.php.net to get a copy of this message | ||
From: clewis@myfonts.com
Operating system: Mac OS X 10.0
PHP version: 4.0 Latest CVS (05/04/2001)
PHP Bug Type: mcrypt related
Bug description: Warning: mcrypt module initialization failed
Using libmcrypt-2.4.10 on Mac OS X 10.0, compiled with
--with-apache=/usr/local/src/apache_1.3.19 --with-mysql=/
usr/local --with-mcrypt --enable-track-vars --disable-debug
My sample script:
<?php
$stuff = mcrypt_cbc(MCRYPT_BLOWFISH,"This is my key","this
is my message",MCRYPT_ENCRYPT);
print base64_encode($stuff);
?>
produces this error:
Warning: mcrypt module initialization failed in /Users/
clewis/dev/website/public/asdf.php on line 3
libmcrypt was compiled with --disable-posix-threads as
suggested on the PHP mcrypt page.
--
Edit Bug report at: http://bugs.php.net/?id=10187&edit=1