QNAP Docker:Postgresql Php

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
s3tech
New here
Posts: 2
Joined: Wed Jan 13, 2021 3:35 pm

QNAP Docker:Postgresql Php

Post by s3tech » 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

s3tech
New here
Posts: 2
Joined: Wed Jan 13, 2021 3:35 pm

Re: QNAP Docker:Postgresql Php

Post by s3tech » Thu Jan 14, 2021 12:57 am

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.

Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”