PhpMyAdmin安装错误 [英] PhpMyAdmin install errors
问题描述
我刚刚在Linux Fedora 13和PHP 5.3.3上安装了phpmyadmin.我收到以下2个错误:
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:
无法加载mcrypt扩展名.请 检查您的PHP配置.
Cannot load mcrypt extension. Please check your PHP configuration.
-我为此搜索过的解决方案是yum安装mcrypt并使用
-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:
mbstring PHP扩展不是 找到,您似乎正在使用 多字节字符集.没有 mbstring扩展名phpMyAdmin是 无法正确分割字符串,并且 可能会导致意外结果.
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.
奇妙的a)我该如何解决这些问题,b)它们会产生什么影响?
Wondering a) How can I fix these and b) What do they affect?
谢谢-
推荐答案
通过检查$_SERVER['PHPRC']
查看正在加载哪个资源文件.该值指向PHP在其中查找php.ini
的目录.我怀疑是/etc
.
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
.
然后安装 right 软件包,即php-mcrypt
.
这篇关于PhpMyAdmin安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!