[Solved] Disabling the PHP mcrypt Extension

Problems with the Windows version of XAMPP, questions, comments, and anything related.

[Solved] Disabling the PHP mcrypt Extension

Postby muno » 25. October 2012 01:30

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.
Last edited by muno on 25. October 2012 05:07, edited 1 time in total.
muno
 
Posts: 2
Joined: 25. October 2012 01:23
Operating System: Windwos XP

Re: Disabling the PHP mcrypt Extension

Postby Altrea » 25. October 2012 03:50

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Disabling the PHP mcrypt Extension

Postby muno » 25. October 2012 04:26

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.
muno
 
Posts: 2
Joined: 25. October 2012 01:23
Operating System: Windwos XP


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests