Excuse me, I want to configure nginx postgresql php on FreeBSD 10, but I don't know this steps, Can you help me to solved this problem??
Installing software should be pretty trivial stuff, check out chapter 4 of the handbook if it isn't, it will explain the full process.
You need to set the correct defaults or you'll keep battling with this. See /usr/ports/Mk/bsd.default-versions.mk:I had a helluva job trying to get the latest version postgresql working with the latest php. After installing postgresql 9.6, php5.6 immediately deleted postgresql96-client, insisting that 9.5 be used. Then when I tried installing php7.1 I came across a whole new battleground. It is doable, but I would hardly call it a trivial task.
DEFAULT_VERSIONS+= php=7.1 pgsql=9.6
No. I don't think so.php5.6 immediately deleted postgresql96-client
No. I don't think so.
pkg install postgresql96-server postgresql96-client
pkg install php56-pgsql
That's a specific module, your sentence "php5.6 immediately deleted postgresql96-client" implied it was lang/php56 that deleted PostgreSQL. And that's certainly not the case.