Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
PHP Selector
»
Preserving php.ini during upgrades
« previous
next »
Print
Pages: [
1
]
Author
Topic: Preserving php.ini during upgrades (Read 407 times)
0 Members and 2 Guests are viewing this topic.
Bossmanuk
Newbie
Posts: 22
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
Logged
overseer
Hero Member
Posts: 1141
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
Logged
Bossmanuk
Newbie
Posts: 22
Re: Preserving php.ini during upgrades
«
Reply #2 on:
June 21, 2024, 07:06:44 AM »
Thank you, I will give that a try
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
PHP Selector
»
Preserving php.ini during upgrades