ubuntu 10.04中的php pgsql驱动程序

时间:2022-10-23 10:19:43

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:

但是当我运行我的php脚本有pg_connect()时,我总是得到这个错误:

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

Any ideas please. Thanks.

请任何想法。谢谢。

1 个解决方案

#1


0  

Have you loaded the module in your php.ini?

你有没有在php.ini中加载模块?

#1


0  

Have you loaded the module in your php.ini?

你有没有在php.ini中加载模块?