When I try to execute pg_connect() in PHP, it does not work and I have come to the realization that my php settings are such that it cannot understand this function, and the php error message reads:
Fatal error: "Call to undefined function pg_connect() in test.php on line 11"
I have downloaded postgresql with yum install postgresql-server in terminal, but nothing more than that.
I have heard from other sources online that I should edit a configuration file, but I don't know where it is.