I'm running WHM current version 126.96.36.199 on a Centos 7 (1511) server and need PostgreSQL databases. I initially installed 9.5 put that did not work so I removed it and ran the cPanel installpostgres script which installs the default version for the distribution - 9.2. Unfortunately 9.2 is fairly old and starting with 9.3 many features were added that really are useful. I decided to try and install 9.5 and get it working with cPanel. The attached file documents how I got it to work and is here in the hopes it will help others. I am not a cPanel expert at all, just a user. From a user cPanel login all the Postgres functions work such as Database Wizard, Maintenance, and phpPGAdmin. On the WHM side the configure postgres option is available but says the server is not running but since everything works I'm ignoring that although I would like to know what WHM is looking for. Given that things work from the cPanel side I can use that to create databases and users and if I need to I can use the server's command line since I have root access.