我尝试在我的 wampserver 上安装 postgreSql
所以我关注一些tutorial和其他一些……
但是当我访问localhost/phppgadmin/
时,出现错误:
Forbidden
You don't have permission to access /phppgadmin/ on this server.
虽然我在 PHP 扩展中激活了 php_pgsql 和 php_pdo_pgsql...
我的 phppgadmin.conf:
# File phppgadmin.conf
Alias /phppgadmin "C:/wamp/apps/phppgadmin5.1/"
<Directory "C:/wamp/apps/phppgadmin5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
感谢您的帮助!
最佳答案
我通过输入以下行来解决问题:
Require local
在 phppgadmin.conf 中:
# Fichier phppgadmin.conf
Alias /phppgadmin "C:/wamp/apps/phppgadmin5.1/"
<Directory "C:/wamp/apps/phppgadmin5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local
Order Deny,Allow
Allow from all
</Directory>
关于apache - HTTP ://localhost/phppgadmin/-> 403 Forbidden,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24414358/