[Solved] Disabling the PHP mcrypt Extension
Posted:
25. October 2012 01:30
by muno
Hello,
I'm trying to disable the mcrypt PHP extension to test my program without it and having hard time finding how.
I was advised to remove extension = php_mcrypt.dll in php.ini but I cannot find it.
I'm using the portable version of XAMP 1.8.1 on Windows XP.
Thanks in advance.
Re: Disabling the PHP mcrypt Extension
Posted:
25. October 2012 03:50
by Altrea
Hi muno,
muno wrote:I'm trying to disable the mcrypt PHP extension to test my program without it and having hard time finding how.
I was advised to remove extension = php_mcrypt.dll in php.ini but I cannot find it.
Since PHP 5.3 mcrypt is connected statically with the PHP Binaries. There is no .dll any more you can disable.
best wishes,
Altrea
Re: Disabling the PHP mcrypt Extension
Posted:
25. October 2012 04:26
by muno
Oh really. I'll try with an older version then. One of my users claims my program doesn't work with an error relating to mcrypt so I have to test without it. Thanks for answering.
Okay, I downloaded xampp-win32-1.7.1-installer.exe found from this page http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/ That version had PHP v5.2.9 and I could find the line, extension=php_mcrypt.dll. in php.ini. After commenting it out and restarting Apache, the extension was successfully disabled.