Home >Database >Mysql Tutorial >Linux下phpMyAdmin安装过程中的问题解决

Linux下phpMyAdmin安装过程中的问题解决

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 16:56:59956browse

1.下载phpMyAdmin,自己想办法拷到/var/www/html下,并解压,开始使用。http://IP/phpMyAdmin测试cp config.sample.inc.php conf

1.下载phpMyAdmin,自己想办法拷到/var/www/html下,并解压,开始使用。

测试

cp config.sample.inc.php config/config.inc.php

chmod o+w config/config.inc.php

2.遇到问题一,phpMyAdmin无法载入MySql扩展,

笔者解决方法为

yum -y install php-mysql

yum install mysqli

运行了

能够进入phpMyAdmin的登录界面。

3.遇到问题二,phpMyadmin配置文件现在需要绝密的短语密码(blowfish_secret)

修改config/config.inc.php

'blowfish_secret'用一个任意字符串作为cookie的加密字符串,如果没有加密钥匙,系统会显示"配置文件现在需要绝密的短语密码 (blowfish_secret) "

$cfg['blowfish_secret'] = 'custom';   //custom是自定义的

4.遇到问题三,无法载入 mcrypt 扩展.

笔者解决方法:

yum install libmcrypt

yum install php-mcrypt

总结:在解决这些问题上,网络上的资料都是针对windows系统的,很少有针对linux的,笔者结合仅有的资料经过测试,,解决了这些问题,但未应用程序测试,下一步准备测试。

记住在每次修改后,注意重启Apache:

service httpd restart

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Linux下配置和安装MySQLNext article:Oracle中操作分页