Red Hat Bugzilla – Bug 42830
/etc/php.ini should be %config(noreplace)
Last modified: 2007-03-26 23:44:51 EDT
Description of Problem:
/etc/php.ini will be overridden at every update and so e.g. a global
`safe_mode = On' will be disabled.
I suggest to mark this file as '%config(noreplace) /etc/php.ini'
$ rpm -q php
This is fixed in current packages.
This is still a problem with RHEL 3 (x86) with the latest php rpms
built from the srpm. Instead of saving the new php.ini at
php.ini.rpmnew it overwrites it and moves it to php.ini.rpmsave.
Dan, could you open a new bug against PHP in RHEL3 if you are seeing
issues with php.ini over upgrades?
php.ini is marked %config(noreplace) in the RHEL package.