So you should search the corresponding php4-mcrypt-package from http://www.dotdeb.org/packages.php and install that (it seems, that you installed the package from standard-woody).
good luck, achim Am Sa, 2004-10-23 um 18.00 schrieb Francisco Castillo: > Hey...... > > I has do a > morpheo:~# find / -name mcrypt.so > /usr/lib/php4/20010901/mcrypt.so > > morpheo:~# cd /usr/lib/php4/200 > 20010901 20020429 > morpheo:~# cd /usr/lib/php4/20020429/ > morpheo:/usr/lib/php4/20020429# cp ../20010901/mcrypt.so . > > but now it seems to be another problem > > morpheo:/usr/lib/php4/20020429# cp ../20010901/mcrypt.so . > morpheo:/usr/lib/php4/20020429# /etc/init.d/apache restart > Reloading apache modulesPHP Warning: Unknown(): mcrypt: Unable to > initialize module > Module compiled with module API=20010901, debug=0, thread-safety=0 > PHP compiled with module API=20020429, debug=0, thread-safety=0 > These options need to match > in Unknown on line 0 > . > > > Thanks in advance > Francisco Castillo. > > ----- Original Message ----- > From: "Francisco Castillo" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, October 23, 2004 5:54 PM > Subject: Re: include the mcrypt module of php > > > > Ok thanks, it seems to be the correct way, but i when i has do it i has now > the problem: > > /etc/init.d/apache restart > > Reloading apache modulesPHP Warning: Unknown(): Unable to load dynamic > library '/usr/lib/php4/20020429/mcrypt.so' - > /usr/lib/php4/20020429/mcrypt.so: cannot open shared object file: No such > file or directory in Unknown on line 0 > > So, i has do a locate mcrypt.so but i has not found it, why do not has been > installed this library on my system with the apt-get install php4-mcrypt? > > Thanks in advance. > > Francisco Castillo. > > > > > > ----- Original Message ----- > From: "Achim Schmidt" <[EMAIL PROTECTED]> > To: "Francisco Castillo" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Saturday, October 23, 2004 5:40 PM > Subject: Re: include the mcrypt module of php > > > What about: > > - apt-get install php4-mcrypt > - check if "extension=mcrypt.so" was added to /etc/php4/apache/php.ini > - restart apache > > now your php should know of mcrypt functions. > > good luck, > > achim > > Am Sa, 2004-10-23 um 17.32 schrieb Francisco Castillo: > > Hello, > > > > I has try to call the mcrypt functions on a my PHP Version > > 4.3.7-dotdeb + APACHE + DEBIAN WOODY System. > > ........................ > > > > $td = mcrypt_module_open('tripledes', '', 'ecb', ''); > > $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size($td), MCRYPT_RAND); > > mcrypt_generic_init($td, $llave, $iv); > > $datos_cifrados = mcrypt_generic($td, $entrada); > > mcrypt_generic_deinit($td); > > mcrypt_module_close($td); > > ........................ > > > > But the execution of this script give me the error > > > > Fatal error: Call to undefined function: mcrypt_module_open() in > > > > It seems that my php has no mcrypt module linked, so php.net saids me > > to : > > > > ..................To use it, download libmcrypt-x.x.tar.gz > > .................. > > and then > > .................. > > You need to compile PHP with the --with-mcrypt[=DIR] parameter to > > enable this extension. DIR is the mcrypt install directory. Make sure > > you compile libmcrypt with the option --disable-posix-threads. > > .................. > > > > So i do a "apt-get install libmcrypt4" and installed the libmcrypt in > > the system and then i has seen on my phpinfo() that > > > > Configure Command > > ..................--with-mcrypt=shared,/usr'.......... > > > > but the problem go on. So I ask to resolver my problem : > > > > Should i recompile my php in order to support mcrypt using > > the--with-mcrypt[=DIR] ? > > How could i do this recompile procedure, could i do it with apt? > > Is there another way to resolve my problem? > > > > Thanks in advance, > > > > Francisco Castillo. > > > > > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]