php - How do I install PostgreSQL driver on Apache? -


i need able connect (ubuntu + apache) web server remote postgresql database, unfortunately, version of php on web server doesn't have php_pgsql.dll library , throws error if try , uncomment section of php.ini.

i've searched internet , found lots of advice on how install postgresql on server, don't need run database service on web server, need allow php connect remote service.

can give me step-by-step noob guide installing driver?

try this:

sudo apt-get install php5-pgsql 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -