postgresql with php

hello

when I do:
$conn=pg_connect(\"host=localhost port=5432 user=xxx_yyy password=******** dbname=xxx_zzz\");

i get:
Fatal error: Call to undefined function: pg_connect()

does anyone know how to fix that?

i run RHEL with cpanel

thanks

 

 

 

 

Top