Jump to content

problems compiling php with mcrypt


Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/55737-problems-compiling-php-with-mcrypt/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.