PhpMyAdmin 安装错误 [英] PhpMyAdmin install errors
问题描述
我刚刚在带有 PHP 5.3.3 的 Linux Fedora 13 上安装了 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 并在/etc/php.ini 中使用
-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
.
然后安装正确的包,即php-mcrypt
.
这篇关于PhpMyAdmin 安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!