pkg cannot install both php5-pgsql and postgresql 9.3 server by default?

Nagy László Zsolt gandalf at
Tue Sep 23 08:00:11 UTC 2014

I need postgresql server 9.3 because I need to use materialized views. I 
also need to access that server from PHP. But pkg won't install them 
both at the same time. See below.

How to overcome this problem? Should I compile php5-pgsql from the ports 
tree? But then I'll be mixing binary packages with ports, isn't that a 



root at gw:~ # php install php5-pgsql
Could not open input file: install
root at gw:~ # pkg install php5-pgsql
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 4 packages will be affected (of 0 checked):

Installed packages to be REMOVED:

New packages to be INSTALLED:
         php5-pgsql: 5.4.32
         postgresql92-client: 9.2.9

The operation will free 16 MB.

Proceed with this action? [y/N]: n
root at gw:~ #

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the freebsd-questions mailing list