Closed lxyu closed 11 years ago
Any idea of where is the php.ini when used with a web server ? (maybe you have to install more packages to get it). Wondering if it makes sense to change /(?i:Ubuntu|Debian|Mint)/ => '/etc/php5/php.ini', to /(?i:Ubuntu|Debian|Mint)/ => '/etc/php5/cli/php.ini', (for the relevant versions).
It depends, the latest configuration structure seems separate php.ini for different packages.
I use a 'lnmp' solution, which use php5-fpm
and nginx
, and in this case, it's /etc/php5/fpm/php.ini
. I'm not familiar with other solutions and so I don't know if it differs.
And I not sure if the older version of ubuntu has upgraded to this structure too. More tests need to be done, but I don't have that environment.
Well, in any case you can set the path of your ini file with config_file => '/etc/php5/fpm/php.ini', so that you can manage it with the template or source parameters.
OK, I'll try it later then.
On Monday, March 11, 2013, Alessandro Franceschi wrote:
Well, in any case you can set the path of your ini file with config_file => '/etc/php5/fpm/php.ini', so that you can manage it with the template or source parameters.
— Reply to this email directly or view it on GitHubhttps://github.com/example42/puppet-php/issues/13#issuecomment-14707361 .
Lx Yu Operation & Maintenance Director, ELEME Inc. http://ele.me
It works, the module is really customizable, I was just knowing I can change the config file parameter.
Thanks.
Env:
The
/etc/php5
structure has changed. Now with this structure:So this module is not working for the latest php package.
I have not tested other releases and so can't provide a good solution.