puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

PHP PECL php.ini

Open yasin-amadmia-mck opened this issue 11 years ago • 2 comments

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.

yasin-amadmia-mck avatar Mar 19 '14 16:03 yasin-amadmia-mck

Yes, it would be definitively cleaner. Wonder it the php.d dir is available on all the most recent php/distros versions.

alvagante avatar Mar 19 '14 18:03 alvagante

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

moderndeveloperllc avatar Mar 07 '15 05:03 moderndeveloperllc