Hello I am having problems getting microcode version 0.98 b to work correctly on my Linux box which is redhat 9 standard install. I have php version 4.2.2. Anyways compilation of the encoder seems to go ok but then when I run it I get the error message mcrypt init failed. Here is an example below:
[root@kellyserv bin]# ./encoder /var/www/html/test.php /var/www/html/phphostcms/test.php 31
microCODE Encoder V 0.98b (C) 2001-2002 by Databay AG
MCRYPT INIT FAILED![root@kellyserv bin]#
Also I have tried it using the precompiled encoder and i have the same error. I have tried multiple scripts, including simple little one line echo statements, also tried removing the <? and ?>. Cant seem to shake this error. I hope someone can help me out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hrm odd.. I searched for the rpm of libmcrypt that is installed on my redhat 9 system and it came up with Version 2.4.22-fr3 being installed. Im gona try reinstalling it via apt-get util and see if that fixes it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no i havent added that. I guess that could have something to do with it. Thing is its gona be hard to do that because i am using the php rpm that comes with redhat 9.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also got this error.
And solve this problem by removing the rpm and installing from source libmcrpyt 2.5.7. I had to run ldconfig after installing from source.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello I am having problems getting microcode version 0.98 b to work correctly on my Linux box which is redhat 9 standard install. I have php version 4.2.2. Anyways compilation of the encoder seems to go ok but then when I run it I get the error message mcrypt init failed. Here is an example below:
[root@kellyserv bin]# ./encoder /var/www/html/test.php /var/www/html/phphostcms/test.php 31
microCODE Encoder V 0.98b (C) 2001-2002 by Databay AG
MCRYPT INIT FAILED![root@kellyserv bin]#
Also I have tried it using the precompiled encoder and i have the same error. I have tried multiple scripts, including simple little one line echo statements, also tried removing the <? and ?>. Cant seem to shake this error. I hope someone can help me out.
looks like you are using an old version of mcrypt or libmcrypt isn't installed at all...
microCODE requires libmcrypt 2.4.15 or later...
Regards
Karsten Richter
hrm odd.. I searched for the rpm of libmcrypt that is installed on my redhat 9 system and it came up with Version 2.4.22-fr3 being installed. Im gona try reinstalling it via apt-get util and see if that fixes it.
Forgot about the mcrypt rpm. It is version 2.5.5-1 maybe that is to old ?
I use libmcrypt 2.5.0 on Debian woody, which is even older than yours.
Did you add --with-mcrypt=shared to your php configure call?
Regards
Karsten Richter
no i havent added that. I guess that could have something to do with it. Thing is its gona be hard to do that because i am using the php rpm that comes with redhat 9.
I also got this error.
And solve this problem by removing the rpm and installing from source libmcrpyt 2.5.7. I had to run ldconfig after installing from source.