Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpMyAdmin install errors

I've just installed phpmyadmin on Linux Fedora 13 with PHP 5.3.3. I get the following 2 errors:

First: I get this on the login screen:

Cannot load mcrypt extension. Please check your PHP configuration.

-The solutions I googled for this one was to yum install mcrypt and enable it in /etc/php.ini with

extension=php_mcrypt.dll
extension=php_mcrypt_filter.dll

Did all that, but no go.

This second one shows up when I login:

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.

Wondering a) How can I fix these and b) What do they affect?

Thanks-

like image 468
Yarin Avatar asked Dec 18 '25 04:12

Yarin


2 Answers

FULL ANSWER:

yum install php-mycrypt
yum install php-mbstring

no php.ini editing needed

Thanks to goreSplatter for shoving me in right direction

like image 155
Yarin Avatar answered Dec 20 '25 20:12

Yarin


Look which resource file is being loaded by examining $_SERVER['PHPRC']. This value points to the directory where PHP looks for php.ini. I doubt that it's /etc.

Then install the right package, which is php-mcrypt.

like image 23
Linus Kleen Avatar answered Dec 20 '25 20:12

Linus Kleen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!