Reputation: 933
I need to be able to connect from my (Ubuntu + Apache) web server to a remote PostgreSQL database, but unfortunately, the version of PHP on my web server doesn't have the php_pgsql.dll library and throws an error if I try and uncomment this section of php.ini.
I've searched the internet and found lots of advice on how to install PostgreSQL on my server, but I don't need to run the database service on my web server, I just need to allow PHP to connect to the remote service.
Can anyone give me a step-by-step noob guide to installing the driver?
Upvotes: 0
Views: 4392
Reputation: 943591
apt-get install php5-pgsql
Linux doesn't use DLL files but Linux distributions to have package management systems.
Upvotes: 1