QNAP Docker:Postgresql Php
Posted: Wed Jan 13, 2021 4:28 pm
Hello!
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?
Thanks
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?
Thanks