Fatal error: Call to undefined function pg_Connect()

From: Olorin <can(at)yabil(dot)net>
To: pgsql-php(at)postgresql(dot)org
Subject: Fatal error: Call to undefined function pg_Connect()
Date: 2017-01-03 10:46:01
Message-ID: 1483440361661-5937112.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

i ve Ubuntu 16.04 with php7, apache2, PostgreSQL v9.5 VPS at digitalocean and
im tryig to read data form Odoo 8 PostgreSQL. im lack of knowledge and
trying to learn.

here is the code which is in my 2nd hosting server php
http://pastebin.com/R3bwfXtR

but im getting Call to undefined function pgConnect() in
/home/f****/publichtml/***.****.net/new.php on line 11

php -i result:
http://pastebin.com/5z6G73Tw

i tried like every possible solutions but no luck. DigitalOcean support team
couldnt solve it in 4 days and now im open to all solutions.
i can give u server access if you are reliable.

Sorry for my bad english.
Please help

--
View this message in context: http://postgresql.nabble.com/Fatal-error-Call-to-undefined-function-pg-Connect-tp5937112.html
Sent from the PostgreSQL - php mailing list archive at Nabble.com.

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Greg Sabino Mullane 2017-01-06 19:07:21 Re: Fatal error: Call to undefined function pg_Connect()
Previous Message Raymond O'Donnell 2015-12-31 11:34:22 Re: How to limit dropdown list to options based on 'in use' rows from lookup table, for webpage using php and postgresql