Easyapache pgsql php module without install postgresql
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?
-
So, what will be the correct way to use pg functions on php without manually modify files?
Hello :) I believe the following document should help: PHP: pg_connect - Manual Thank you.0 -
Hello :) I believe the following document should help: PHP: pg_connect - Manual Thank you.
I think you misunderstood me. easy apache won't let me compile php with postgres module if there are no postgres server on the same machine.0 -
Have you tried installing it via Pecl? EX: pecl install pdo_pgsql
Thank you.0 -
Have you tried installing it via Pecl? EX:
pecl install pdo_pgsql
Thank you.
No, when i was searching on google I didn't found nothing about that. I will test this option. Thank you.0
Please sign in to leave a comment.
Comments
4 comments