postgresql 如何安装和启动phpPGAdmin
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17863215/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install and start phpPGAdmin
提问by Anko
This may be a very silly question, but I can't figure out how to use the phpPGAdmin. I've downloaded and unzipped the .zip file from the website, but how do I install it? I'm using a Mac.
这可能是一个非常愚蠢的问题,但我不知道如何使用 phpPGAdmin。我已经从网站下载并解压了 .zip 文件,但我该如何安装它?我正在使用 Mac。
I'm starting a lift project on a remote server and would like to have phpPgadmin installed on my Mac so that i can connect to the postgresql db on the remote host through phpPgAdmin's GUI.
我正在远程服务器上启动一个提升项目,并希望在我的 Mac 上安装 phpPgadmin,以便我可以通过 phpPgAdmin 的 GUI 连接到远程主机上的 postgresql 数据库。
I'm very new to databases and this is all very confusing.
我对数据库很陌生,这一切都非常令人困惑。
Thanks.
谢谢。
采纳答案by Anko
If you are using XAMPP:
如果您使用的是 XAMPP:
http://practicalfoss.blogspot.com/2008/09/how-to-install-postgresql-and.html
http://practicalfoss.blogspot.com/2008/09/how-to-install-postgresql-and.html
If you are not:
如果你不是:
回答by dafNou
if you will use XAMPP and follow the above link provided by user2615534 there is a chance that you get access forbidden. So, how to fix that:
如果您将使用 XAMPP 并按照 user2615534 提供的上述链接进行操作,则您可能会被禁止访问。那么,如何解决这个问题:
In the step where you open c:\xampp\apache\conf\extra\httpd-xampp.conf
在打开 c:\xampp\apache\conf\extra\httpd-xampp.conf 的步骤中
REMEMBERto add "Require local" in tag ;) Worked for me!
记住在标签中添加“需要本地”;) 对我来说有效!
It will be like that:
它会是这样的:
<IfModule mime_module>
Alias /phppgadmin "C:/xampp/phpPgAdmin/"
<Directory "C:/xampp/phpPgAdmin">
AllowOverride AuthConfig
Require local
Order allow,deny
Allow from all
</Directory>
</IfModule>