=> Creating binary package /tmp/pkgbuild/mail/php-imap/work.sparc/.packages/php81-imap-8.1.14nb3.tgz
php81-imap-8.1.14nb3: copying /usr/pkg/share/examples/php/imap.ini to /usr/pkg/etc/php.d/imap.ini
===========================================================================
$NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $

By default, example module configuration file was copied to following
location, and module should be auto-loaded:
/usr/pkg/etc/php.d/imap.ini

If you use custom /usr/pkg/etc/php.ini, or nonstandard module
configuration file location, you might need to add explicit load directive:
extension=imap.so
===========================================================================