Easyapache pgsql php module without install postgresql

alfa ex

Member
Oct 15, 2014
19
0
1
cPanel Access Level
Website Owner
Hi.

I'm trying to connect on a external Postgresql database (my server is on godaddy and the postgresql is on amazon).
I do not want to install postgresql on my server.

On easyapache show this message.
"Requires PostgreSQL 7.3 or higher to already be installed. You can do that with /usr/local/cpanel/scripts/installpostgres"

As i said, i don't want to install postgresql on my server, but i follow along with the process and on the logs it show this.

-- Begin opt 'PGsql' --
-- Begin dryrun test 'Check postgresql' --
!! postgres is not installed, skipping postgres flags !!

So, what will be the correct way to use pg functions on php without manually modify files?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
463
Have you tried installing it via Pecl? EX:

Code:
pecl install pdo_pgsql
Thank you.