puppet-php
puppet-php copied to clipboard
PHP PECL php.ini
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/
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