Hi!
I'm still debating on whether it is worth it to stick with libmcrypt-2.5.3
or not. Problem is I followed the PHP Manual on 'http://php.net/mcrypt'. I
was thinking there was problem with PHP's configure and make because it take
in the libmcrypt but does not take in the libmcrypt's algorithm. But
someone told me it is not a bug and that I only need to do the php.ini
configuration. So I did that and it doesn't work at all. I don't know what
am I doing wrong and I could use the help. I checked the PHP Info using hte
phpinfo() and it showed I had no supported ciphers. All I just want is to
get the encryption to work, example of those are ....
1) mcrypt_module_open (MCRYPT_DES, '', MCRYPT_MODE_ECB, '')
2) mcrypt_get_block_size('tripledes', 'ecb')
3) mcrypt_list_algorithms("/usr/local/lib/libmcrypt")
Here's the php.ini script
--clip--
mcrypt.algorithms_dir = /usr/local/lib/libmcrypt
mcrypt.modes_dir = /usr/local/lib/libmcrypt
--clip--
Here's the files after I complied the libmcrypt-2.5.3, by using hte command,
'ls -l /usr/local/lib" & 'ls -l /usr/local/lib/libmcrypt'
--clip--
drwxr-xr-x 2 root system 1536 Oct 07 16:58 libmcrypt
-rwxr-xr-x 1 root system 137767 Oct 07 16:58 libmcrypt.a
-rwxr-xr-x 1 root system 717 Oct 07 16:58 libmcrypt.la
--clip--
--clip--
drwxr-xr-x 2 root system 1536 Oct 07 16:58 .
drwxr-xr-x 21 root system 1536 Oct 07 17:57 ..
-rwxr-xr-x 1 root system 729 Oct 07 16:58 arcfour.la
-rwxr-xr-x 1 root system 769 Oct 07 16:58 blowfish-compat.la
-rwxr-xr-x 1 root system 734 Oct 07 16:58 blowfish.la
-rwxr-xr-x 1 root system 734 Oct 07 16:57 cast-128.la
-rwxr-xr-x 1 root system 734 Oct 07 16:57 cast-256.la
-rwxr-xr-x 1 root system 709 Oct 07 16:58 cbc.la
-rwxr-xr-x 1 root system 709 Oct 07 16:58 cfb.la
-rwxr-xr-x 1 root system 709 Oct 07 16:58 ctr.la
-rwxr-xr-x 1 root system 709 Oct 07 16:58 des.la
-rwxr-xr-x 1 root system 709 Oct 07 16:58 ecb.la
-rwxr-xr-x 1 root system 724 Oct 07 16:58 enigma.la
-rwxr-xr-x 1 root system 714 Oct 07 16:57 gost.la
-rwxr-xr-x 1 root system 44139 Oct 07 16:58 libarcfour.a
-rwxr-xr-x 1 root system 51930 Oct 07 16:58 libblowfish-compat.a
-rwxr-xr-x 1 root system 50412 Oct 07 16:58 libblowfish.a
-rwxr-xr-x 1 root system 59548 Oct 07 16:57 libcast-128.a
-rwxr-xr-x 1 root system 58323 Oct 07 16:57 libcast-256.a
-rwxr-xr-x 1 root system 42354 Oct 07 16:58 libcbc.a
-rwxr-xr-x 1 root system 41992 Oct 07 16:58 libcfb.a
-rwxr-xr-x 1 root system 50372 Oct 07 16:58 libctr.a
-rwxr-xr-x 1 root system 52890 Oct 07 16:58 libdes.a
-rwxr-xr-x 1 root system 39138 Oct 07 16:58 libecb.a
-rwxr-xr-x 1 root system 47016 Oct 07 16:58 libenigma.a
-rwxr-xr-x 1 root system 49025 Oct 07 16:57 libgost.a
-rwxr-xr-x 1 root system 54565 Oct 07 16:57 libloki97.a
-rwxr-xr-x 1 root system 59446 Oct 07 16:58 libncfb.a
-rwxr-xr-x 1 root system 50514 Oct 07 16:58 libnofb.a
-rwxr-xr-x 1 root system 42012 Oct 07 16:58 libofb.a
-rwxr-xr-x 1 root system 55865 Oct 07 16:58 libpanama.a
-rwxr-xr-x 1 root system 44946 Oct 07 16:57 librc2.a
-rwxr-xr-x 1 root system 54318 Oct 07 16:57 librijndael-128.a
-rwxr-xr-x 1 root system 54334 Oct 07 16:57 librijndael-192.a
-rwxr-xr-x 1 root system 54350 Oct 07 16:57 librijndael-256.a
-rwxr-xr-x 1 root system 49346 Oct 07 16:57 libsafer-sk128.a
-rwxr-xr-x 1 root system 49184 Oct 07 16:57 libsafer-sk64.a
-rwxr-xr-x 1 root system 52840 Oct 07 16:57 libsaferplus.a
-rwxr-xr-x 1 root system 72270 Oct 07 16:57 libserpent.a
-rwxr-xr-x 1 root system 38818 Oct 07 16:58 libstream.a
-rwxr-xr-x 1 root system 49181 Oct 07 16:57 libthreeway.a
-rwxr-xr-x 1 root system 55434 Oct 07 16:58 libtripledes.a
-rwxr-xr-x 1 root system 61798 Oct 07 16:57 libtwofish.a
-rwxr-xr-x 1 root system 48553 Oct 07 16:58 libwake.a
-rwxr-xr-x 1 root system 43066 Oct 07 16:57 libxtea.a
-rwxr-xr-x 1 root system 724 Oct 07 16:57 loki97.la
-rwxr-xr-x 1 root system 714 Oct 07 16:58 ncfb.la
-rwxr-xr-x 1 root system 714 Oct 07 16:58 nofb.la
-rwxr-xr-x 1 root system 709 Oct 07 16:58 ofb.la
-rwxr-xr-x 1 root system 724 Oct 07 16:58 panama.la
-rwxr-xr-x 1 root system 709 Oct 07 16:57 rc2.la
-rwxr-xr-x 1 root system 754 Oct 07 16:57 rijndael-128.la
-rwxr-xr-x 1 root system 754 Oct 07 16:57 rijndael-192.la
-rwxr-xr-x 1 root system 754 Oct 07 16:57 rijndael-256.la
-rwxr-xr-x 1 root system 749 Oct 07 16:57 safer-sk128.la
-rwxr-xr-x 1 root system 744 Oct 07 16:57 safer-sk64.la
-rwxr-xr-x 1 root system 739 Oct 07 16:57 saferplus.la
-rwxr-xr-x 1 root system 729 Oct 07 16:57 serpent.la
-rwxr-xr-x 1 root system 724 Oct 07 16:58 stream.la
-rwxr-xr-x 1 root system 734 Oct 07 16:57 threeway.la
-rwxr-xr-x 1 root system 739 Oct 07 16:58 tripledes.la
-rwxr-xr-x 1 root system 729 Oct 07 16:57 twofish.la
-rwxr-xr-x 1 root system 714 Oct 07 16:58 wake.la
-rwxr-xr-x 1 root system 714 Oct 07 16:57 xtea.la
--clip--
Thanks,
Scott F.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php