如何在Apache上安装PostgreSQL驱动程序?

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?

Try this:

sudo apt-get install php5-pgsql
apt-get install php5-pgsql

Linux doesn't use DLL files but Linux distributions to have package management systems.