Installing PostGreSQL on a Cpanel server

You can install PostgreSQL by running the following command:

# /scripts/installpostgres

Note that after you install PostgreSQL, you will need to rebuild both the internal PHP used by phpPgAdmin, and the PHP used for your sites (they are two different installations). You can do this by running *both* of these commands:

# /scripts/easyapache –build
# /scripts/makecpphp

If you do not run *both* of the above commands *after* running /scripts/installpostgres, your PHP applications and phpPgAdmin will not be able to interact with PostgreSQL.