2
我不确定是否这是导致它停止自动登录的原因,但我所做的最后一件事是安装GeoIP库并使用“pecl install geoip”进行安装/编译。phpMyAdmin不再自动登录
phpMyAdmin驻留在我的CentOS版本5.8(最终)服务器上的/ usr/local/cpanel/base/3rdparty/phpMyAdmin /上。
这是我的config.inc.php的内容。我编辑我的blowfish_secret也拿出大部分被注释掉的代码:
<?php
$cfg['blowfish_secret'] = 'XXXXXXXXXXXXXXXXX'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
//cpanel:$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['auth_type'] = 'cpanel';
/* Server parameters */
//cpanel:$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
// cPanel case 56677
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/*
* phpMyAdmin configuration storage settings.
*/
// cPanel case 5760
$cfg['UserprefsDisallow'] = array(
'ShowCreateDb',
'SuggestDBName',
'Export/quick_export_onserver',
'Export/quick_export_onserver_overwrite',
'Export/onserver',
'Export/onserver_overwrite',
);
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
// cpanel: cases 36079, 36080, 36144
$cfg['ShowChgPassword'] = false;
$cfg['ShowCreateDb'] = false;
$cfg['SuggestDBName'] = false;
$cfg['AllowUserDropDatabase'] = false;
?>
我读过改变的cPanel密码,并将其同步到MySQL数据库将解决这个问题,但罚款一直以来,它的工作每个都有不同的密码,我宁愿为了安全的原因保持这种密码。
任何人都知道为什么发生这种情况和/或如何从cPanel取回自动登录功能?
我也应该注意,由于某种原因没有/etc/php.d目录。可以在其他地方找到php.d吗? – 2012-04-28 10:16:46
更多可能与原始问题有关的信息。当我通过cPanel恢复数据库时,该进程看起来像已成功完成,但数据库从未实际得到更新。我必须使用phpMyAdmin或MySQL来恢复数据库。我通过WHM强制更新了cPanel,希望它能解决问题,但没有骰子。从发布版本升级到当前版本会在这一点上产生什么影响? 我也刚刚注意到我安装了apache GeoIP和pecl版本。会导致任何问题吗?我猜应该在跳枪之前做更多的研究。 – 2012-04-28 17:08:19