[Pkg-postgresql-public] Bug#888446: phppgadmin - Connection fail with postgreSQL 10

Yadickson Soto yadickson at gmail.com
Thu Jan 25 18:04:48 UTC 2018


Package: phppgadmin
Version: 5.1+ds-2
Branch: buster (testing)

Hi,

There is a connection problem with postgreslq 10 on buster.

run application on http://localhost/phppgadmin/
Add my credentials, but the applicaction show the next error:

*Version of PostgreSQL not supported. Please upgrade to version or later.*

To fix, I follow the next link

https://stackoverflow.com/questions/46794672/installing-phppgadmin-5-1-on-ubuntu-16-04-with-postgresql-10-not-supported

I change the file:

*/usr/share/phppgadmin/classes/database/Connection.php*

// Detect version and choose appropriate database driver
switch (substr($version,0,3)) {
        *case '10.': // add this line to fix partialy the problem*
        case '9.2': return 'Postgres'; break;
        case '9.1': return 'Postgres91'; break;
        case '9.0': return 'Postgres90'; break;
        case '8.4': return 'Postgres84'; break;
        case '8.3': return 'Postgres83'; break;
        case '8.2': return 'Postgres82'; break;
        case '8.1': return 'Postgres81'; break;
        case '8.0':
        case '7.5': return 'Postgres80'; break;
        case '7.4': return 'Postgres74'; break;
}

Pleace, can you fix the problem in the package?
Thanks a lot.


Ing. Yadickson Soto
+56 9 9668 8798
Usuario Linux #497718
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20180125/ea7eeafe/attachment.html>


More information about the Pkg-postgresql-public mailing list