tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enabling PHP modules by default



On Mon, 11 Mar 2013 21:13:36 +0900, iMil <imil%home.imil.net@localhost> wrote:


Hi,

By default, pkgsrc PHP modules show a MESSAGE explaining that one
should enable them by adding an "extension=foo.so" in the php.ini
file.
When you're installing a meta-package or a PHP package that needs
many .so's to work, it is rather painful to go through that process.

Our PHP supports the "Scan this dir for additional .ini files" with
the directory /usr/pkg/etc/php.d, what would you think of enabling
modules by default by creating a /usr/pkg/etc/php.d/foo.ini file
instead of just asking the user to do it?

Introduced "PHP_AUTO_REGISTER_EXT=yes" build switch just for my favorite behavior.

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index