我正在配置我的 centos 服务器。我安装了 postgresql
和 phppgadmin
当我尝试以 my_server_ip/phpPgAdmin
访问 phppgadmin 时
它重定向到登录页面,当我尝试登录时出现错误
出于安全原因不允许登录
我什至将 extra_login_security
更改为 false
并使用以下命令重新启动
/etc/init.d/httpd restart
和
service postgresql-9.2 restart
谁能帮帮我。
最佳答案
1).打开 ->/etc/phppgadmin -> config.inc.php
2).将 $conf['extra_login_security'] = true;
更改为 $conf['extra_login_security'] = false;
// If extra login security is true, then logins via phpPgAdmin with no // password or certain usernames (pgsql, postgres, root, administrator) // will be denied. Only set this false once you have read the FAQ and // understand how to change PostgreSQL's pg_hba.conf to enable // passworded local connections.
关于apache - 出于安全原因不允许登录postgresql centos服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19204816/