Re: FreeBSD Port: nextcloud-php85-34.0.1_1

"Kevin P. Neal" <[email protected]> Tue, 21 Jul 2026 21:52:40 -0400
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On Tue, Jul 21, 2026 at 01:58:42PM +0100, Will Tuladhar-Douglas wrote:
>    Dear brnrd (Bernard, I will guess?),
> 
>    Thank you for setting up the Nextcloud port/package for FreeBSD. I
>    continue to be delighted by how constructive and supportive the FreeBSD
>    community is!
> 
>    On inspection it looks as though the install is based on MySQL or
>    MariaDB.
 
>    Is there anything I could do to help extend the port to include a
>    Postgres backend?  I have many years of (mostly amateur) experience
>    with Unix systems but am only recently returning to BSD.

I run a Nextcloud instance on Postgres. I had to switch from my original
SQLite database, but that's another story.

I didn't do anything special to Nextcloud aside from following configuration
documentation at the NC site. I installed PG plus the PHP interface to the
database and that was it. Install software, follow instructions on
configuration, done. 

I don't know what would change when switching from Linux to FreeBSD.
Filesystem paths, of course, but it's the same NC and the same PG so
I expect it's fine.


I just checked, and I guess the reason I have php84-pdo_mysql installed
is because of the default options on the port. Huh. I'll have to change
that at some point. It's really not that important to me, though.

If you want an install of Nextcloud to install the PG PHP support
automatically then just 'make config' in the appropriate ports directory
I believe. Or the equivalent if you use poudriere or whatever other
build system.

-- 

"You know what I mean." -- US patent 8,011,992B2, "Apparatus For Facilitating
The Construction Of A Snow Man/Woman"