xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.sgml to /usr/pkg/etc/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.xml to /usr/pkg/etc/xml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /usr/pkg/share/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.xml to /usr/pkg/share/xml/catalog php74-7.4.33: copying /usr/pkg/share/examples/php/7.4/php.ini-production to /usr/pkg/etc/php/7.4/php.ini mkdir: .: No such file or directory ls: ./.pkginstall.18731/dir_perms: No such file or directory =========================================================================== The following directories are used by php74-7.4.33 and have the wrong ownership and/or permissions: /usr/pkg/etc/php/7.4 (m=755, o=root, g=wheel) =========================================================================== /usr/pkg/pkgdb/php74-7.4.33/+INSTALL: cannot create ./+ALTERNATIVES: directory nonexistent pkg_add: var_set: can't open temp file for '/usr/pkg/pkgdb/php74-7.4.33/+INSTALLED_INFO' for writing: No such file or directory pkg_add: can't open dependency file '/usr/pkg/pkgdb/libxml2-2.12.10/+REQUIRED_BY',registration is incomplete!: No such file or directory pkg_add: can't open dependency file '/usr/pkg/pkgdb/pcre2-10.45/+REQUIRED_BY',registration is incomplete!: No such file or directory pkg_add: can't open dependency file '/usr/pkg/pkgdb/readline-8.2nb2/+REQUIRED_BY',registration is incomplete!: No such file or directory pkg_add: Just installed dependency php74>=7.4.33<7.5 disappeared pkg_add: Expected dependency php74>=7.4.33<7.5 still missing pkg_add: Can't install dependency php74-pear-[0-9]* pkg_add: Expected dependency php74-pear-[0-9]* still missing xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.sgml to /usr/pkg/etc/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.etc.xml to /usr/pkg/etc/xml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.sgml to /usr/pkg/share/sgml/catalog xmlcatmgr-2.2nb1: copying /usr/pkg/share/examples/xmlcatmgr/catalog.share.xml to /usr/pkg/share/xml/catalog php74-7.4.33: copying /usr/pkg/share/examples/php/7.4/php.ini-production to /usr/pkg/etc/php/7.4/php.ini php74-pear-1.10.16nb2: copying /usr/pkg/share/examples/php/7.4/pear.conf to /usr/pkg/etc/php/7.4/pear.conf pkg_add: 1 package addition failed =========================================================================== $NetBSD: MESSAGE,v 1.2 2025/02/08 02:58:55 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 /usr/pkg/libexec/cgi-bin/php74 or you may install a PHP module for your HTTP server, e.g. www/ap-php. =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.2 2025/02/08 02:58:55 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 /usr/pkg/libexec/cgi-bin/php74 or you may install a PHP module for your HTTP server, e.g. www/ap-php. =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.5 2025/02/08 03:24:29 taca Exp $ In order to use PEAR packages you may want to alter the default include_path of PHP to include the PEAR installation directory where the packages are located. To do this you need to edit the include_path directive in your php.ini file: /usr/pkg/etc/php/7.4/php.ini Change the "include_path" directive to read as follows: include_path = ".:/usr/pkg/lib/php/7.4" It should be done automatically. ===========================================================================