【发布时间】:2011-10-05 02:54:29
【问题描述】:
这里的解决方案似乎是什么,我确定我在我的 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.
但是当我使用 pg_connect() 运行我的 php 脚本时,我总是得到这个错误:
Fatal error: Call to undefined function pg_connect() in ...
请有任何想法。谢谢。
【问题讨论】:
标签: php postgresql ubuntu driver