Hi all,
I installed PHP thru the XAMPP package on my windows machine.
The problem, I couldn't solve, is that the mcryppt funcs don't work.
It return the following message:
Call to undefined function mcrypt_decrypt() ...
If I write a
<?php
echo ***";
echo function_exists("mcrypt_decrypt");
echo function_exists("mcrypt_encrypt");
echo "***";
?>
it return nothing between the six asterisks.
I downloaded the libmcrypt.dll and copied it under c:\windows\system32
and erased the ";" in the extension=php_mcrypt.dll line.
But it still doesn't work.
Anyone could help me?
Thank you 4 27987
I don't use Windows, let alone XAMPP, but my first-blink question upon
reading this is ... "libcrypt.dll" or "php_mcrypt.dll?" Which one is it supposed to be?
Problem solved!
I modified the php.ini in the \apachefriends\xampp\php directory while
I had to modify the one contained in \apachefriends\xampp\apache\bin.
Thank you everybody and excuse me if it was a silly problem.
Bye This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Matt McKay |
last post by:
I've written a php page which allows users to type in a text string and a
key, then choose from a dropdown menu of encryption/decryption cyphers, and
a method (encrypt, decrypt).
The whole thing...
|
by: BKDotCom |
last post by:
I'm writing an app that will use blowfish encryption..
PHP's mcrypt will be used if available.
if not, I'll use PHPmyadmin's blowfish.php library.
The problem is I can't figure out what...
|
by: laredotornado |
last post by:
Hello, My hosting company does not support the PHP mcrypt functions.
Instead, they recomend using the command line, /usr/local/bin/mcrypt
utility via PHP's exec method. Sadly, they do not provide...
|
by: sylvian stone |
last post by:
Hi,
I'm getting some strange errors that I cannot pin down:
Warning: mcrypt_generic_init(): Iv size incorrect; supplied length: 7,
needed: 8 in......
This is strange because the data is...
|
by: codearcher |
last post by:
I have the latest version of XAMPP installed on Windows XP Pro SP2. I
am trying to use mcrypt with rijnndael-128 on ecb:
"
$cr = mcrypt_module_open('rijndael-128','','ecb','') or...
|
by: Frances |
last post by:
I want to learn PHP.. I know JSP, Servlets, have been using Tomcat for
2 years now, and even though I know there are ways you can use PHP in
conjunction with Tomcat, I'd rather not tinker with...
|
by: E. Recio |
last post by:
Long story short. I want to use Mac OS/X and PHP. I have a db with
passwords stored under Linux using the crypt("foo", "$1$".$salt."$);
scheme. This means that crypt should execute a CRYPT_MD5...
|
by: DavidNorep |
last post by:
Hi,
I installed basic xampp with the installer from
http://www.apachefriends.org/en/xampp-windows.html#524.
When I started Apache from the panel, I got a window with the error
message:
This...
|
by: =?UTF-8?Q?Ahmad_=E3=8B=A1_Baitalmal?= |
last post by:
Hi,
I'm having a hard time getting python-mcrypt extension to build.
I installed libmcrypt with --prefix=/usr and I checked that the
library exists
-rwxr-xr-x 1 root wheel 352K Sep 19...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |