1

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

when i was trying to connect with postgresql using pg_connect(), it says that "Fatal error.. call to undefined function pg_connect..".

please help me....

2 Answers 2

1

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

0

You can also connect to a database using PDO.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.