Always copy a custom.ini file to new PHP installations

tomputer

Verified User
Joined
Apr 5, 2016
Messages
37
Location
The Netherlands
Is is possible in custombuild/custom/php/<somedir> to always copy a custom.ini file to new PHP installations? Just to make sure I can keep a setting like this disabled:

Code:
cat /usr/local/phpXX/lib/php.conf.d/99-custom.ini
session.upload_progress.enabled = Off
 
cust via PHP-FPM is better

#/usr/local/directadmin/data/templates/custom/php-fpm.conf.custom2
Code:
php_admin_value[session.upload_progress.enabled] = Off

and : "da build rewrite_confs", this ensure client won't accident enable back by ".user.ini"
 
Back
Top