When installing php (v4 or v5) the 'development' version of php.ini is installed. IMHO the more secure 'recommended' version should also be installed. ATM one has to manually extract the 'recommended' version from the .tar.gz in the distdir and copy it to the conf dir. It would be cool if the ebuilds would install both versions and the user would be advised post-emerge to choose which version he/she want's. Or at least put a copy of the recommended version in /usr/share/doc/php* or wherever. I like keeping both versions in /etc/php/*-php?/ as php.ini-dev and php.ini-recommended and then symlink the one I currently want to php.ini. But while upgrading, the ebuilds nuke my symlink and replace it with a copy of the file. Not very nice :( Anyway, maybe one of you guys/girls has an idea how this could be managed in a more user friendly manner. cheers & peace & happy new year
Honestly, I don't see any benefit from installing multiple versions of .ini files and adding more complexity.
I don't see either any real advantage of this, upstream's default is to install the "dev" php.ini, so we also do it like that. If you really need the php.ini-recommended, you can get it from PHP CVS or any PHP tarball, also the changes are really not that much/big from one to the other, so closing this. Best regards, CHTEKK.