DigitalOcean support team couldnt solve this issue. i ve Ubuntu 16.04 with php7, apache2, PostgreSQL v9.5 and im running php code to read data form PostgreSQL from my 2nd server.
here is the code php http://pastebin.com/R3bwfXtR
but im getting Call to undefined function pg_Connect() in /home/f****/public_html/.****.net/new.php on line 11
php -i result: http://pastebin.com/5z6G73Tw
i tried like every possible soluitons but no luck. im open to all solutions i can give u server access if u really needed
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.