Author Topic: Preserving php.ini during upgrades  (Read 407 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Preserving php.ini during upgrades
« on: June 18, 2024, 02:25:41 PM »
Hello Everyone,
Is there a way I can preserve the php.ini during automatic upgrades for PHP 8.1, 8.2 & 8.3?

Thanks

Bossmanuk

Offline
*****
Re: Preserving php.ini during upgrades
« Reply #1 on: June 18, 2024, 02:37:00 PM »
Make them immutable (as root):
Code: [Select]
chattr +i /path/to/php.ini

Offline
*
Re: Preserving php.ini during upgrades
« Reply #2 on: June 21, 2024, 07:06:44 AM »
Thank you, I will give that a try