简体   繁体   中英

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.

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:

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

Any ideas please. Thanks.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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