mcrypt extension not loaded

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
dapiaoen
-


Joined: 28 Dec 2006
Posts: 12

PostPosted: Sun Nov 09, 2008 5:12 pm    Post subject: mcrypt extension not loaded Reply with quote

Decided to use phymyadmin instead of toad, so installed it.

Instructions were fine and everything works--except I get the mcrypt extension not loaded error. Not a big deal except that research says that leaves me unprotected and causes phpmyadmin to load slower.

Found some information that I needed to uncomment the php_mcrypt.dll in the php.ini file. I did, but then I got an error that php_mcrypt.dll could not be found and this was fatal to phpmyadmin.

Rebooted. Still the same. Reinstalled PHP for abyss (5.2.2.2). No joy. Uncommenting the php.ini still causes the php_mcrypt.dll not found fatal error. HTTP 500.

Any ideas? Thanks.
_________________
Chris F
Back to top View user's profile Send private message
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Mon Nov 10, 2008 4:18 am    Post subject: Reply with quote

Does your PHP install have the dll file? Also I suggest you use Aprelium's PHP package if you aren't already.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
technetx
-


Joined: 27 Oct 2008
Posts: 15

PostPosted: Mon Nov 10, 2008 5:11 am    Post subject: Reply with quote

If you're on Windows, you may need to copy libmcrypt.dll to c:\windows\system32 for (extension=php_mcrypt.dll) to work.
Back to top View user's profile Send private message
dapiaoen
-


Joined: 28 Dec 2006
Posts: 12

PostPosted: Tue Nov 11, 2008 12:55 am    Post subject: mcrypt not loaded Reply with quote

I'm using Aprellium's php package.

php_mcrypt.dll is in the path per the php.ini

I don't know about libmcrypt.dll but will look into it.

I haven't read anything about it in my research, though

Thanks,
_________________
Chris F
Back to top View user's profile Send private message
technetx
-


Joined: 27 Oct 2008
Posts: 15

PostPosted: Tue Nov 11, 2008 1:25 am    Post subject: Reply with quote

Hi Chris,

libmcrypt.dll just needs to be in a system path. Sounds like you've already commented out the correct line for PHP.ini, but libmcrypt.dll needs to be in a system path to work correctly. Or you can change your win path statement to include the directory where libmcrypt.dll is located currently, but it's easier to just copy the file into your c:\windows\system32 directory.

Restart and all should work properly ;)
Back to top View user's profile Send private message
dapiaoen
-


Joined: 28 Dec 2006
Posts: 12

PostPosted: Sat Nov 15, 2008 5:47 pm    Post subject: mcrypt now loaded Reply with quote

Nice to have good advice.

I downloaded a zipped php and extracted the libmcrypt.dll to system32 and restarted. The mcrypt not loaded error went away.

Thanks for the help.

The key was to find the libmcrypt.dll file and it took a bit searching in the wrong places before I realized the best place was the current php zip file.

Thanks, again.
_________________
Chris F
Back to top View user's profile Send private message
technetx
-


Joined: 27 Oct 2008
Posts: 15

PostPosted: Sat Nov 15, 2008 7:49 pm    Post subject: Reply with quote

You're welcome! Glad you're up and running.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group