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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.