开发者

php postgresql connection

i couldnt solve the above below error.. somebody please help me..

when i was trying to connect with开发者_JAVA技巧 postgresql using pg_connect(), it says that "Fatal error.. call to undefined function pg_connect..".

please help me....


You probably need to uncomment (remove the first ;) the PostgreSQL extension in your php.ini:

php_pgsql.dll - if you're on Windows


pgsql.so - if you're on *nix


You can also connect to a database using PDO.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜