Installing php5-pgsql if php installed and postgresql installed. Fixed #175