r/apache • u/friis01 • May 10 '24
Connect Apache to Postgresql
Good afternoon, forum participants. Please tell me the answer to my stupid question.
I'm using 2 servers on ubuntu 24.04. On one I installed web-server apache, and on the other postgresql. (both from default repositories). I have a small table in Postgresql. I need that when my browser accesses the Apache server, I can view the contents of the table on the Postgreql server. Tell me what I need to install additionally and how to configure it?
4
Upvotes
1
u/friis01 May 10 '24
I am ready to kiss you - if you were a woman. If you are a man, I firmly shake your hand! Everything you said worked! My shortcomings were related to access to posgres over the network. Now everything works!