WampServer 2.0i and php mcrypt extension
Posted by: Z.K. (---.sttlwa.dsl-w.verizon.net)
Date: July 16, 2009 11:02PM

If the WampServer php extension menu does not list the mcrypt extension, does that mean it is not installed or is mcrypt covered by some other extension? If it is not installed, how do I install it, do I just follow the installation guide on the php website?

Thanks,

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 17, 2009 06:35PM

You just need to enable this extensions. It does come with wamp but is not enabled. To enable this extension, left click wamp tray icon and select PHP > PHP Extensions > php_mcrypt

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: Z.K. (---.sttlwa.dsl-w.verizon.net)
Date: July 18, 2009 05:54AM

It is listed when I go to localhost from the wampserver menu, but it is not listed in the php extension menu.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: July 18, 2009 12:42PM

You need scroll the list. There is a small arrow pointing down at the bottom of the list.

However if its listed in the Loaded Extensions list when you go to localhost you do not need to enable mcrypt.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: Z.K. (---.sttlwa.dsl-w.verizon.net)
Date: July 19, 2009 10:04AM

No, there is not, the menu is not larger than my screen. It is just not there and it is not in php.ini or as a dll in the extenstions folder. Someone mentioned to me that it might have been compiled into the base code so I tried a sample program using mcrypt and it worked so I guess they were correct.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: Suzanna (---.direct-adsl.nl)
Date: July 29, 2009 10:40AM

I have the same problem.

I want to tick php_mcrypt in the PHP -> PHP extensions, but it's just isn't there. I try to download it on www.dlldll.com/php_mcrypt.dll_download.html and put the php_mcrypt.dll file into "C:\wamp\bin\php\php5.3.0\ext". After I do that and get back to PHP -> PHP extensions, it's there to tick. But when I do that, there comes a warning: "PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0/ext/php_mcrypt.dll' - Can't find the module."

What do I have to do to let php_mcrypt working properly?

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: July 29, 2009 11:00AM

its the wrong copy for php 5.3

they have not built this extention for php5.3 for windows yet.

none of the PECL has been complied for 5.3windows on php.net


i suggest you go back to 5.2 or downlaod the older version of wamp - wampserver 2.0g1 or 2.0h

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: Suzanna (---.direct-adsl.nl)
Date: July 29, 2009 11:02AM

Thanks a lot! I will try that fast.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: Z.K. (---.sttlwa.dsl-w.verizon.net)
Date: July 30, 2009 09:07PM

Then how come it seemed to work even though mcrypt is not in the menu and I was unable to locate the extension file.

In any case, I switched over to using IIS as I needed I also needed to run asp.net and perl.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: yfastud (Moderator)
Date: July 30, 2009 10:17PM

you can easy add asp.net and perl on wamp

to setup asp.net, follow this
[blog.jlbn.net]

to setup cgi/perl, follow this
[blog.jlbn.net]
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: Z.K. (---.sttlwa.dsl-w.verizon.net)
Date: July 31, 2009 10:15PM

I tried that, but it did not work for me. In any case I already have IIS working so I don't think I will go back. I may try on a different PC sometime just to see if I can figure out what I was doing wrong.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: WampServerGuy (---.cncdnh.fast.myfairpoint.net)
Date: August 08, 2009 01:33PM

First of all I just downloaded the newest wampserver which has Apache 2.2.11, MySQL 5.1.36, and PHP 5.3.0


I just read the above and still find I need to ask about the following error:


PHP Startup: Unable to load dynamic library 'c/wamp/bin/php/php5.3.0/ext/php_mcrypt.dll" - The specified module could not be found.


First of all my php_mcrypt did not show up in my php extensions list either so I did the following:

(1) I receive a copy of php_mcrypt.dll ver 5.2.9.9 from a friend, and I was told to put it in the following folder:

c:/wamp/bin/php/php5.3.0/ext which I did

(2) Then I was told to make sure my php.ini had the following text string in it:

extension=php_mcrypt.dll

which I did, then I saved the file


(3) Then I was told to right click on wampserver and click on refresh


(4) Then thats when I got the above message

(5) Then I googled php_mcrypt.dll looking for a fix and I read that it needed to be put in the following:
c:/windows/system32 folder

which I did also and I still get the same above error message.

Could you please tell me the following:

Where do we get the right php_mcrypt.dll file, what folder does it need to be in, and does it matter in the php.ini
file where the text string extension=php_mcrypt.dll is located?


Also what does it mean in the php.ini file that reads the following:


Be sure to appropriately set the extension_dir directive ?

Any and all help is GREATLY APPRECIATED

The WampServerGuy

rc2472400@yahoo.com

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 08, 2009 04:31PM

You cannot use php5.2.x extensions with PHP5.3. They are not compatible.

php_mcrypt is now built into PHP5.3. Remove this line from your php.ini

extension=php_mcrypt.dll

delete the file(s) you moved to C:/Windows. This can cause more problems.

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: WampServerGuy (---.cncdnh.fast.myfairpoint.net)
Date: August 09, 2009 02:24AM

Thanks for your assistance.... You guys are awesome.....

Any and all help is GREATLY APPRECIATED

The WampServerGuy

rc2472400@yahoo.com

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: ninjab (---.cust.aussiebb.net)
Date: May 04, 2013 12:53PM

Hi there,

I am having a problem with running Joomla and mijoshop extension running on my WAMP and it gives me the error: Ask your Hosting company to install mcrypt extension to solve this issue:

'mCrypt' PHP extension for advanced password protection is not installed on your server. Plz, ask your hosting company to install it.

So I read through this thread and try to enable mcrypt but it does not enable it, it just goes to the icon yellow and then green and it is not ticked when I clicked it.

I went into php.ini and deleted the line with mcrypt in it (still shows up in my menu under extensions).

So I then read in this thread that it is because of PHP 5.3 upwards it has mcrypt built in. Have I improperly upgraded my wamp so that it is confused or something? Because if the php has it built in, it should work shouldnt it?

Options: ReplyQuote
Re: WampServer 2.0i and php mcrypt extension
Posted by: RiggsFolly (---.as13285.net)
Date: May 04, 2013 07:46PM

the extension php_mcrypt is now statically linked into the php exe you are correct.

But that library appears to uses this one which is not part of the php distribution

libmcrypt.dll

I cannot see anywhere on the net that I trust to download it from so you will have to look for it yourself and take your pick of the possible sources.

Options: ReplyQuote


Sorry, only registered users may post in this forum.