Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117401 - php ebuild should also install php.ini-recommended configuration
Summary: php ebuild should also install php.ini-recommended configuration
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-01 15:51 UTC by Steven Armstrong
Modified: 2006-01-18 07:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Armstrong 2006-01-01 15:51:42 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-02 01:27:55 UTC
Honestly, I don't see any benefit from installing multiple versions of .ini files and adding more complexity. 
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-01-18 07:38:27 UTC
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.