Open yasin-amadmia-mck opened 10 years ago
Yes, it would be definitively cleaner. Wonder it the php.d dir is available on all the most recent php/distros versions.
One place that has already done a bit of the dirty work is over at Puphpet where they have a more robust php::ini that takes into account both webserver and CLI config files - https://github.com/puphpet/puppet-puphpet/blob/master/manifests/php/ini.pp
Hi, The pecl::module.pp updates php.ini file after installing the required module. Would it not be better to have it update/create php.d/.ini file instead and add within it extension=.so ?
I think it is much neater when some extensions (ex: xdebug) require additional configs.