I have been using Wamp server for a long time now. It comes with MySQL. Today I had to change from mysql to PostgreSQL. I've tried install Postgres, downloaded and completed the installation. But when I tried to run a php program to reteive some data from the table,
<?php
$link = pg_connect("host=192.168.2.43 dbname=DataFetcher user=postgres password=user");
echo "Connection Established";
?>
it says Call to undefined function pg_connect(), that means Postgres is not detected.
What could be the issue?
phpinfo()and have a look at php.net/manual/en/pgsql.installation.php.psql?psql