Page 1 of 1

QNAP Docker:Postgresql Php

Posted: Wed Jan 13, 2021 4:28 pm
by s3tech
I have installed Postgresql with Container Station and I am able to connect to the server from a remote computer on the local network (using pgadmin).
Now I'm trying to connect to the db from a php page located on the QNAP in /share/Web/index.php (pg extension is added in php.ini). I use localhost, the right dbname and user/password, but I get a server error (500) and I cannot figure out where the issue comes from. :?:
Anyone could help on that?

Re: QNAP Docker:Postgresql Php

Posted: Thu Jan 14, 2021 12:57 am
by s3tech
Hello again,
Been looking deeper. It seems that the version of php does not have postgresql driver (.so). So I guess I need to find the way to upgrade php or even apache.