It is currently Mon Oct 20, 2014 7:19 am

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: phpMyAdmin Extensions
PostPosted: Wed Feb 04, 2009 2:57 am 
Offline

Joined: Wed Feb 04, 2009 2:47 am
Posts: 4
Hi Room !

I have just installed phpMyAdmin-3.1.2-all-languages on encounmy computer with Apache2.2 installed.

I encountered 2 errors:

1. Cannot load mcrypt extension. Please check your PHP configuration.

2. The mbstring PHP extension was not found and you seem to be using
a multibyte charset. Without the mbstring extension phpMyAdmin
is unable to split strings correctly and it may result in unexpected results.

My computer runs Microsoft Windows XP Professional Version 2002 Service Pack 3

Please anyone provide me with some suggestion !

Amanda Nguyen


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2009 5:02 am 
Offline

Joined: Sun May 02, 2004 11:34 pm
Posts: 6611
Location: toronto, canada
Open your php.ini file and uncomment the lines

;extension=php_mbstring.dll
;extension=php_mcrypt.dll

by removing the semi-colon.. Then save the file, restart the web server and you should be good to go

_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2009 4:29 pm 
Offline

Joined: Wed Feb 04, 2009 2:47 am
Posts: 4
Hi LostBoy, Thank You for responding !

There are no such lines in the php.ini file. So I just added

Code:
extension=php_mbstring.dll
extension=php_mcrypt.dll


at the end of the file.

But it doesn't work for we and I received the same error messages.
I am a newcomer, maybe I have to read more of the documet on the phpMyadmin site.

Amanda Nguyen

lostboy wrote:
Open your php.ini file and uncomment the lines

;extension=php_mbstring.dll
;extension=php_mcrypt.dll

by removing the semi-colon.. Then save the file, restart the web server and you should be good to go


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2009 1:34 am 
Offline

Joined: Wed Feb 04, 2009 2:47 am
Posts: 4
Lostboy,

The files php_mbstring.dll and php_mcrypt.dll are not in the folder C:\Program Files\PHP\ext

Where can I find them ?

Kindly Amanda Nguyen

lostboy wrote:
Open your php.ini file and uncomment the lines

;extension=php_mbstring.dll
;extension=php_mcrypt.dll

by removing the semi-colon.. Then save the file, restart the web server and you should be good to go


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2009 6:40 am 
Offline

Joined: Sun May 02, 2004 11:34 pm
Posts: 6611
Location: toronto, canada
It sounds like you have installed a package via an installer. The windows one for sure does not have all the dlls available. What you can do is download the ZIP version of php (not the MSI installer) and take the dlls from the zip package and move them into the EXT folder...

_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2009 9:27 pm 
Offline

Joined: Wed Feb 04, 2009 2:47 am
Posts: 4
lostboy wrote:
It sounds like you have installed a package via an installer. The windows one for sure does not have all the dlls available. What you can do is download the ZIP version of php (not the MSI installer) and take the dlls from the zip package and move them into the EXT folder...


Lostboy !

I did exactly what you said:

I added the following 2 lines of code in the Dynamic Extensions area of the file C:\Program Files\PHP\php.ini
Code:
extension=php_mbstring.dll
extension=php_mcrypt.dll

I downloaded the ZIP version of php-5.2.8-Win32 , copied and pasted the two files ( php_mbstring.dll and php_mcrypt.dll ) into the folder C:\Program Files\PHP\ext
Then finally I restarted the web server Apache.

When I open phpMyAdmin in a browser, the 2.error (The mbstring PHP extension - Error) is eliminated, but the 1. error ( Cannot load mcrypt extension. Please check your PHP configuration.)
is still there !

What the reason can it be ?

Kindly Amanda Nguyen


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 01, 2009 4:55 am 
Offline

Joined: Sun May 02, 2004 11:34 pm
Posts: 6611
Location: toronto, canada
Hi Amanda,

mcrypt has a dependency on libmcrypt.dll which should be in the root PHP folder. Check to see if its there

_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to: