how to make permanent my custom.ini after upgrading php

sad_eq

New member
Joined
Feb 8, 2021
Messages
3
Hi guys
Help me please, my custom php ini did not move after updating from 7.3 to 7.4
it remained at /usr/local/php73/lib/php.conf.d/99-cutom.ini
and
do not exist on /usr/local/php74/lib/php.conf.d/

please help me how to make permanent my custom.ini after each upgrading php in the future.

Thanks
 
each PHP version has own php.ini, usually they incompatible with another versions, because has strings/variables that deprecated in new one version, or doesn't exist in older ver.
You need to create custom modifications for each PHP ver separately.
 
Thanks @Zhenyapan
Isn't there any way to create my 99-custom.ini automatically after updating php to new version like directAdmin does by creating 10-directadmin.ini and 50-webapps.ini while updating php?
 
You don't need to. 99-custom.ini to be created again after an update.
Create both a 99-custom.ini in your 7.3 and 7.3 php version php.fpm.d directory and they will not be touched when php is updated.
 
I don't mind if they do it after several days. Due to the up I noticed this thread, maybe others missed it too before like I did. As long as they don't up it every 24 hours I'm fine with it.
 
You are right sorry I will delete my post. I did not realize it was from monday..
 
Back
Top