example42 / puppet-php

A puppet module for php. According to Example42 NextGen spec.
Other
45 stars 62 forks source link

PHP PECL php.ini #50

Open yasin-amadmia-mck opened 10 years ago

yasin-amadmia-mck commented 10 years ago

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.

alvagante commented 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.

moderndeveloperllc commented 9 years ago

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