简体   繁体   English

Windows上的PHP:Postgresql问题

[英]PHP:Postgresql issue on Windows

"Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option." “您的PHP安装不支持PostgreSQL。您需要使用--with-pgsql configure选项重新编译PHP。”

I am facing this issue on windows when I try to access PhpPgAdmin. 当我尝试访问PhpPgAdmin时,我在Windows上遇到此问题。 My postgresql version is 9.1 and PHP is installed in WAMP stack. 我的postgresql版本是9.1,并且WAMP堆栈中安装了PHP。 I tried enabling the php_pgsql extension but didn't work. 我尝试启用php_pgsql扩展名,但是没有用。 Plz help on what needs to be done to make it work. 请Plz帮助您使其工作所需要做的事情。

Thanks! 谢谢!

As it says, your installation doesn't support PGSQL, because XAMPP is laid down to be used with mySql. 如此说来,您的安装不支持PGSQL,因为XAMPP被规定与mySql一起使用。 This might help you though, 不过, 可能对您有帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM