hello my environment: solaris 10, httpd-2.2.14, php-5.3.2 this combination with mysql is working very fine. i have some problems with php-modul mcrypt. previously i have downloaded, complied and installed libmcrypt-2.5.8 mhash-0.9.9.9 mcrypt-2.6.8 there are no problems no warnings after that i tried to compile modul mcrypt under directory ext/mcrypt compiling didn't make any problems but running the test there were a lot of error ( see below ) i haven't to say that the module does not work. any ideas ? kind regards hans -- # gmake test Build complete. Don't forget to run 'make test'. ===================================================================== PHP : /usr/local/bin/php PHP_SAPI : cli PHP_VERSION : 5.3.2 ZEND_VERSION: 2.3.0 PHP_OS : SunOS - SunOS 5.10 Generic_137111-03 sun4u INI actual : ext/mcrypt/tmp-php.ini More .INIs : CWD : ext/mcrypt Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2010-03-28 13:25:33 ===================================================================== FAIL Test for blowfish compatibility [tests/blowfish.phpt] FAIL Bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic() without proper init). [tests/bug35496.phpt] FAIL Bug #37595 (mcrypt_generic calculates data length in wrong way) [tests/bug37595.phpt] FAIL Bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes) [tests/bug41252.phpt] FAIL Bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB) [tests/bug43143.phpt] FAIL Bug #46010 (warnings incorrectly generated for iv in ecb mode) [tests/bug46010.phpt] FAIL Bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes) [tests/bug49738.phpt] PASS Bug #8040 (MCRYPT_MODE_* do not seem to exist) [tests/bug8040.phpt] FAIL mcrypt_cbc [tests/mcrypt_cbc.phpt] FAIL Test mcrypt_cbc() function : basic functionality [tests/mcrypt_cbc_3des_decrypt.phpt] FAIL Test mcrypt_cbc() function : basic functionality [tests/mcrypt_cbc_3des_encrypt.phpt] PASS Test mcrypt_cbc() function : error conditions [tests/mcrypt_cbc_error.phpt] PASS Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation1.phpt] FAIL Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation2.phpt] FAIL Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation3.phpt] FAIL Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation4.phpt] FAIL Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation5.phpt] FAIL mcrypt_cbf [tests/mcrypt_cbf.phpt] FAIL mcrypt_create_iv [tests/mcrypt_create_iv.phpt] FAIL mcrypt_decrypt [tests/mcrypt_decrypt.phpt] FAIL Test mcrypt_decrypt() function : basic functionality [tests/mcrypt_decrypt_3des_cbc.phpt] FAIL Test mcrypt_decrypt() function : basic functionality [tests/mcrypt_decrypt_3des_ecb.phpt] PASS Test mcrypt_decrypt() function : error conditions [tests/mcrypt_decrypt_error.phpt] PASS Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation1.phpt] FAIL Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation2.phpt] FAIL Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation3.phpt] PASS Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation4.phpt] FAIL Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation5.phpt] FAIL mcrypt_ecb [tests/mcrypt_ecb.phpt] FAIL Test mcrypt_cbc() function : basic functionality [tests/mcrypt_ecb_3des_decrypt.phpt] FAIL Test mcrypt_ecb() function : basic functionality [tests/mcrypt_ecb_3des_encrypt.phpt] PASS Test mcrypt_ecb() function : error conditions [tests/mcrypt_ecb_error.phpt] PASS Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation1.phpt] FAIL Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation2.phpt] FAIL Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation3.phpt] FAIL Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation4.phpt] FAIL Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation5.phpt] FAIL mcrypt_enc_get_algorithms_name [tests/mcrypt_enc_get_algorithms_name.phpt] FAIL mcrypt_enc_get_block_size [tests/mcrypt_enc_get_block_size.phpt] FAIL mcrypt_enc_get_iv_size [tests/mcrypt_enc_get_iv_size.phpt] FAIL mcrypt_enc_get_key_size [tests/mcrypt_enc_get_key_size.phpt] FAIL mcrypt_enc_get_modes_name [tests/mcrypt_enc_get_mode_name.phpt] FAIL mcrypt_enc_get_supported_key_sizes [tests/mcrypt_enc_get_supported_key_sizes.phpt] FAIL mcrypt_enc_is_block_algorithm [tests/mcrypt_enc_is_block_algorithm.phpt] FAIL mcrypt_enc_is_block_algorithm_mode [tests/mcrypt_enc_is_block_algorithm_mode.phpt] FAIL mcrypt_enc_is_block_mode [tests/mcrypt_enc_is_block_mode.phpt] FAIL mcrypt_enc_self_test [tests/mcrypt_enc_self_test.phpt] FAIL Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_encrypt_3des_cbc.phpt] FAIL Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_encrypt_3des_ecb.phpt] PASS Test mcrypt_encrypt() function : error conditions [tests/mcrypt_encrypt_error.phpt] PASS Test mcrypt_encrypt() function : usage variation - different types for cipher [tests/mcrypt_encrypt_variation1.phpt] FAIL Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation2.phpt] FAIL Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation3.phpt] PASS Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation4.phpt] FAIL Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation5.phpt] FAIL mcrypt_get_block_size [tests/mcrypt_get_block_size.phpt] FAIL mcrypt_get_cipher_name [tests/mcrypt_get_cipher_name.phpt] FAIL mcrypt_enc_get_iv_size [tests/mcrypt_get_iv_size.phpt] FAIL mcrypt_get_key_size [tests/mcrypt_get_key_size.phpt] FAIL mcrypt_list_algorithms [tests/mcrypt_list_algorithms.phpt] FAIL mcrypt_list_modes [tests/mcrypt_list_modes.phpt] FAIL mcrypt_module_get_algo_block_size [tests/mcrypt_module_get_algo_block_size.phpt] FAIL mcrypt_module_get_algo_key_size [tests/mcrypt_module_get_algo_key_size.phpt] FAIL mcrypt_module_get_supported_key_sizes [tests/mcrypt_module_get_supported_key_sizes.phpt] FAIL mcrypt_module_is_block_algorithm [tests/mcrypt_module_is_block_algorithm.phpt] FAIL mcrypt_module_is_block_algorithm_mode [tests/mcrypt_module_is_block_algorithm_mode.phpt] FAIL mcrypt_module_is_block_mode [tests/mcrypt_module_is_block_mode.phpt] FAIL mcrypt_module_open [tests/mcrypt_module_open.phpt] FAIL mcrypt_module_self_test [tests/mcrypt_module_self_test.phpt] FAIL mcrypt_ofb [tests/mcrypt_ofb.phpt] FAIL Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_rijndael128_128BitKey.phpt] FAIL Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_rijndael128_256BitKey.phpt] ===================================================================== TIME END 2010-03-28 13:26:15 ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 0 Exts tested : 33 --------------------------------------------------------------------- Number of tests : 72 72 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 61 ( 84.7%) ( 84.7%) Expected fail : 0 ( 0.0%) ( 0.0%) Tests passed : 11 ( 15.3%) ( 15.3%) --------------------------------------------------------------------- Time taken : 42 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Test for blowfish compatibility [tests/blowfish.phpt] Bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic() without proper init). [tests/bug35496.phpt] Bug #37595 (mcrypt_generic calculates data length in wrong way) [tests/bug37595.phpt] Bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes) [tests/bug41252.phpt] Bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB) [tests/bug43143.phpt] Bug #46010 (warnings incorrectly generated for iv in ecb mode) [tests/bug46010.phpt] Bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes) [tests/bug49738.phpt] mcrypt_cbc [tests/mcrypt_cbc.phpt] Test mcrypt_cbc() function : basic functionality [tests/mcrypt_cbc_3des_decrypt.phpt] Test mcrypt_cbc() function : basic functionality [tests/mcrypt_cbc_3des_encrypt.phpt] Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation2.phpt] Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation3.phpt] Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation4.phpt] Test mcrypt_cbc() function : usage variation [tests/mcrypt_cbc_variation5.phpt] mcrypt_cbf [tests/mcrypt_cbf.phpt] mcrypt_create_iv [tests/mcrypt_create_iv.phpt] mcrypt_decrypt [tests/mcrypt_decrypt.phpt] Test mcrypt_decrypt() function : basic functionality [tests/mcrypt_decrypt_3des_cbc.phpt] Test mcrypt_decrypt() function : basic functionality [tests/mcrypt_decrypt_3des_ecb.phpt] Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation2.phpt] Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation3.phpt] Test mcrypt_decrypt() function : usage variation [tests/mcrypt_decrypt_variation5.phpt] mcrypt_ecb [tests/mcrypt_ecb.phpt] Test mcrypt_cbc() function : basic functionality [tests/mcrypt_ecb_3des_decrypt.phpt] Test mcrypt_ecb() function : basic functionality [tests/mcrypt_ecb_3des_encrypt.phpt] Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation2.phpt] Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation3.phpt] Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation4.phpt] Test mcrypt_ecb() function : usage variation [tests/mcrypt_ecb_variation5.phpt] mcrypt_enc_get_algorithms_name [tests/mcrypt_enc_get_algorithms_name.phpt] mcrypt_enc_get_block_size [tests/mcrypt_enc_get_block_size.phpt] mcrypt_enc_get_iv_size [tests/mcrypt_enc_get_iv_size.phpt] mcrypt_enc_get_key_size [tests/mcrypt_enc_get_key_size.phpt] mcrypt_enc_get_modes_name [tests/mcrypt_enc_get_mode_name.phpt] mcrypt_enc_get_supported_key_sizes [tests/mcrypt_enc_get_supported_key_sizes.phpt] mcrypt_enc_is_block_algorithm [tests/mcrypt_enc_is_block_algorithm.phpt] mcrypt_enc_is_block_algorithm_mode [tests/mcrypt_enc_is_block_algorithm_mode.phpt] mcrypt_enc_is_block_mode [tests/mcrypt_enc_is_block_mode.phpt] mcrypt_enc_self_test [tests/mcrypt_enc_self_test.phpt] Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_encrypt_3des_cbc.phpt] Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_encrypt_3des_ecb.phpt] Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation2.phpt] Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation3.phpt] Test mcrypt_encrypt() function : usage variation [tests/mcrypt_encrypt_variation5.phpt] mcrypt_get_block_size [tests/mcrypt_get_block_size.phpt] mcrypt_get_cipher_name [tests/mcrypt_get_cipher_name.phpt] mcrypt_enc_get_iv_size [tests/mcrypt_get_iv_size.phpt] mcrypt_get_key_size [tests/mcrypt_get_key_size.phpt] mcrypt_list_algorithms [tests/mcrypt_list_algorithms.phpt] mcrypt_list_modes [tests/mcrypt_list_modes.phpt] mcrypt_module_get_algo_block_size [tests/mcrypt_module_get_algo_block_size.phpt] mcrypt_module_get_algo_key_size [tests/mcrypt_module_get_algo_key_size.phpt] mcrypt_module_get_supported_key_sizes [tests/mcrypt_module_get_supported_key_sizes.phpt] mcrypt_module_is_block_algorithm [tests/mcrypt_module_is_block_algorithm.phpt] mcrypt_module_is_block_algorithm_mode [tests/mcrypt_module_is_block_algorithm_mode.phpt] mcrypt_module_is_block_mode [tests/mcrypt_module_is_block_mode.phpt] mcrypt_module_open [tests/mcrypt_module_open.phpt] mcrypt_module_self_test [tests/mcrypt_module_self_test.phpt] mcrypt_ofb [tests/mcrypt_ofb.phpt] Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_rijndael128_128BitKey.phpt] Test mcrypt_encrypt() function : TripleDES functionality [tests/mcrypt_rijndael128_256BitKey.phpt] ===================================================================== You may have found a problem in PHP. We would like to send this report automatically to the PHP QA team, to give us a better understanding of how the test cases are doing. If you don't want to send it immediately, you can choose "s" to save the report to a file that you can send us later. Do you want to send this report now? [Yns]: n