+ PKG_PATH=/nfs/packages/SmartOS/upstream/trunk/All
+ /opt/tools/sbin/pkg_add -K /var/opt/.pkgdb digest-20220214 mktools-20220614 pax-20210219 unzip-6.0nb9 cwrappers-20220403 checkperms-1.12 php74-iconv-7.4.30 php74-pdo_mysql-7.4.30nb2 php74-json-7.4.30
pkg_add: package `cwrappers-20220403' already recorded as installed
libiconv-1.14nb3: copying /opt/pkg/share/examples/libiconv/charset.alias to /opt/pkg/lib/charset.alias
xmlcatmgr-2.2nb1: /etc/opt/pkg/sgml/catalog already exists
xmlcatmgr-2.2nb1: /etc/opt/pkg/xml/catalog already exists
xmlcatmgr-2.2nb1: copying /opt/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /opt/pkg/share/sgml/catalog
xmlcatmgr-2.2nb1: copying /opt/pkg/share/examples/xmlcatmgr/catalog.share.xml to /opt/pkg/share/xml/catalog
openssl-1.1.1o: /etc/opt/pkg/openssl/openssl.cnf already exists
readline-8.1.2: registering info file /opt/pkg/info/history.info
readline-8.1.2: registering info file /opt/pkg/info/readline.info
readline-8.1.2: registering info file /opt/pkg/info/rluserman.info
php-7.4.30: copying /opt/pkg/share/examples/php/php.ini-production to /etc/opt/pkg/php.ini
php74-iconv-7.4.30: copying /opt/pkg/share/examples/php/iconv.ini to /etc/opt/pkg/php.d/iconv.ini
php74-pdo-7.4.30: copying /opt/pkg/share/examples/php/pdo.ini to /etc/opt/pkg/php.d/pdo.ini
php74-pdo_mysql-7.4.30nb2: copying /opt/pkg/share/examples/php/pdo_mysql.ini to /etc/opt/pkg/php.d/pdo_mysql.ini
php74-json-7.4.30: copying /opt/pkg/share/examples/php/json.ini to /etc/opt/pkg/php.d/json.ini
===========================================================================
$NetBSD: MESSAGE,v 1.1 2019/12/15 17:56:34 taca Exp $

To process PHP scripts, you will need a PHP-enabled HTTP server.  You may
either configure the HTTP server to use the PHP CGI binary located in

        /opt/pkg/libexec/cgi-bin/php

or you may install a PHP module for your HTTP server, e.g. www/ap-php.

===========================================================================
===========================================================================
$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:
/etc/opt/pkg/php.d/iconv.ini

If you use custom /etc/opt/pkg/php.ini, or nonstandard module
configuration file location, you might need to add explicit load directive:
extension=iconv.so
===========================================================================
===========================================================================
$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:
/etc/opt/pkg/php.d/pdo.ini

If you use custom /etc/opt/pkg/php.ini, or nonstandard module
configuration file location, you might need to add explicit load directive:
extension=pdo.so
===========================================================================
===========================================================================
$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:
/etc/opt/pkg/php.d/pdo_mysql.ini

If you use custom /etc/opt/pkg/php.ini, or nonstandard module
configuration file location, you might need to add explicit load directive:
extension=pdo_mysql.so
===========================================================================
===========================================================================
$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:
/etc/opt/pkg/php.d/json.ini

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