Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19208

Additional .ini file

From Custom Log <custom@log.abc>
Newsgroups comp.lang.php
Subject Additional .ini file
Date 2022-12-23 11:29 +0100
Organization Aioe.org NNTP Server
Message-ID <to3vu8$ii6$1@gioia.aioe.org> (permalink)

Show all headers | View raw


First of all

$ php -i | grep --after-context=5 'Additional .ini'
Additional .ini files parsed => /etc/php/8.1/cli/conf.d/10-opcache.ini,
/etc/php/8.1/cli/conf.d/10-pdo.ini,
/etc/php/8.1/cli/conf.d/15-xml.ini,
/etc/php/8.1/cli/conf.d/20-calendar.ini,
/etc/php/8.1/cli/conf.d/20-ctype.ini,
/etc/php/8.1/cli/conf.d/20-dom.ini,

OK!!!

Now to the /etc/php/8.1/cli/conf.d directory I would like to add a 
personalized file of mine (custom-php.ini).

$ touch /etc/php/8.1/cli/conf.d/custom-php.ini

OK!!!

But I wonder if it is a correct practice, given that /etc is a system 
directory (which contains system configuration files), and the system 
directories should not be touched.
Would it therefore be advisable to specify (through the 
chef_ini_scan_dir) environment variable) an alternative directory?

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Additional .ini file Custom Log <custom@log.abc> - 2022-12-23 11:29 +0100
  Re: Additional .ini file Arno Welzel <usenet@arnowelzel.de> - 2022-12-23 12:02 +0100
    Re: Additional .ini file Custom Log <custom@log.abc> - 2022-12-23 13:33 +0100
      Re: Additional .ini file Arno Welzel <usenet@arnowelzel.de> - 2022-12-23 16:16 +0100
  Re: Additional .ini file "J.O. Aho" <user@example.net> - 2022-12-24 00:19 +0100
    Re: Additional .ini file Custom Log <custom@log.abc> - 2022-12-24 08:37 +0100

csiph-web