luma Posted June 15, 2007 Share Posted June 15, 2007 Hi everyone, I am trying to compile php with mcrypt support. I have installed libmcrypt as per the instructions on php.net documentation. OS: Solaris Sparc edition 64 bit configuration line used: ./configure --with-apxs2=/opt/apache2/bin/apxs --with-mysql=/opt/mysql --prefix=/opt/php --enable-mbstring --enable-gd --with-libxml --with-zlib --with-mcrypt=/opt/mcrypt it compiles just fine (or so it appears) but when I try to use something that uses mcrypt such as phpmyadmin using Cookie auth I get the following errors: ------------------------------------------- Warning: mcrypt_get_iv_size() [function.mcrypt-get-iv-size]: Module initialization failed in /opt/apache2/htdocs/dbadmin/libraries/mcrypt.lib.php on line 16 Warning: mcrypt_create_iv() [function.mcrypt-create-iv]: Can not create an IV with a size of less then 1 or greater then 2147483647 in /opt/apache2/htdocs/dbadmin/libraries/mcrypt.lib.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /opt/apache2/htdocs/dbadmin/libraries/mcrypt.lib.php:16) in /opt/apache2/htdocs/dbadmin/libraries/common.lib.php on line 413 Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: Module initialization failed in /opt/apache2/htdocs/dbadmin/libraries/mcrypt.lib.php on line 86 Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: Module initialization failed in /opt/apache2/htdocs/dbadmin/libraries/mcrypt.lib.php on line 86 Warning: Cannot modify header information - headers already sent by (output started at /opt/apache2/htdocs/dbadmin/libraries/mcrypt.lib.php:16) in /opt/apache2/htdocs/dbadmin/libraries/auth/cookie.auth.lib.php on line 91 -------------------------------------------------- any ideas? Thank you much Luma Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.