Connecting to AWS RDS Postgresql from a container

Keywords: PostgreSQL - AWS - How to - Other
Description:
I am trying to connect to AWS RDS postgresql from my codeiginiter app which is running in a docker container php-fpm, When I try to connect I get this error: call to undefined function pg_connect(). Do I need to enable the pg connect driver in php.ini? If so, where can I find the php.ini that is being used in the container?

Hi @richb201,

For any issues related to Bitnami Docker applications could you ask in our Github page?

https://github.com/bitnami/bitnami-docker-codeigniter/issues

Regards,
Michiel

Where in /bitnami/bitnami-docker-codeigniter? Under Issues? I am trying to debug this issue myself but can’t seem to get phpinfo() to run so I can see if I have the driver loaded?

Also, I am trying to get docker contexts working on my AWS Lightsail. I understand that I need to set up a ssh up and running. I am on an Ubuntu machine these days and I know that you guys have some instructs on setting up SSH. Can you share these again?

Rich

Hi @richb201,

Yes, you can just open a new issue there.

To set up SSH you can use the following guide:

https://docs.bitnami.com/aws/faq/administration/provide-additional-ssh-access/

Regards,
Michiel

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.