简体   繁体   English

ubuntu 10.04中的php pgsql驱动程序

[英]php pgsql driver in ubuntu 10.04

What seems to be the solution in here, I am sure I installed pgsql driver on my Ubuntu 10.04. 似乎是这里的解决方案,我确定我在Ubuntu 10.04上安装了pgsql驱动程序。

root@xxxx:/# apt-get install php5-pgsql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php5-pgsql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

But when I run my php script having pg_connect(), I always get this error: 但是,当我运行具有pg_connect()的php脚本时,总是会收到此错误:

Fatal error: Call to undefined function pg_connect() in ...

Any ideas please. 有什么想法请。 Thanks. 谢谢。

您是否已将模块加载到php.ini中?

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

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