Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

PHP PECL php.ini #50

Open
yasin-amadmia-mck opened this issue Mar 19, 2014 · 2 comments
Open

PHP PECL php.ini #50

yasin-amadmia-mck opened this issue Mar 19, 2014 · 2 comments

Comments

@yasin-amadmia-mck
Copy link

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
Copy link
Member

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

@moderndeveloperllc
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants