All Questions
1,669 questions
0
votes
0
answers
35
views
ini file - mark where variable shall be [duplicate]
I have created an ini file with loads of strings set into an array
ini-file:
_GO = Go
_CANCEL = Cancel
_LEFT = Left
_RIGTH = Right
_NEXT = Next
_PREVIOUS = Previous
_DIRECTION = Direction
_ASCENDING = ...
0
votes
0
answers
139
views
Why does PHP not find ini files even though it scanned the directory they're in?
I'm trying to run composer install but it's not finding my extensions. It suggests I run php --ini as a debug step, and it reports "(none)" additional .ini files parsed:
- Running `php --...
-1
votes
0
answers
42
views
Copying and pasting PHP.ini-development and renaming to 'php.ini' doesn't work [duplicate]
I wanted to try out PHP v8.4 and installed the Windows version from PHP.net, but there's an issue: there's no PHP.ini configuration file and I need to enable some things. There's just php.ini-...
0
votes
1
answer
80
views
Unable to setup a PHP variable "max_input_vars"
I'm trying to install the moodle cms on debian12 and php8.2.
I have followed the official guide.
I'm trying to set the variable max_input_vars to the value of 5000 editing the system php.ini file at ...
0
votes
1
answer
72
views
Spark-submit warns about non-Spark properties from an ini file but works when passed directly
I have an ini file that sets some environment-specific properties.
cmds.ini
[DEV]
spark_submit=spark3-submit
[PROD]
spark_submit=spark3-submit
I am parsing this file in shell script and creating ...
0
votes
1
answer
52
views
Received error Salaros.Configuration.ConfigParserException: 'This key value pair is orphan, ....."
I'm trying to make a program the saves value to ini file. Already imported Salaros.configparser, declare path with string and try to save some value after some dropdowm value with yes and no.
I follow ...
0
votes
1
answer
370
views
When to Use dotenv, .YAML, .INI, .CFG and .TOML in Project?
I’m a bit confused about the different configuration file formats: dotenv, YAML, INI, CFG(inc: .conf, .cfg, .config), and TOML. They all seem to serve the same purpose of storing configurations, keys ...
0
votes
1
answer
78
views
How to edit /etc/krb5.conf from cli with the "git config" command?
I'm trying to edit /etc/krb5.conf with the git config command according to this example.
I tried this :
$ git config --file=/etc/krb5.conf libdefaults.renew_lifetime 7d
error: invalid key: libdefaults....
0
votes
1
answer
235
views
Trying to update pytest.ini file during runtime but the settings are not picked up for the same test execution instance
`I'm trying to update pytest.ini file during runtime (Wanted the log folder to pick up current date and time as a file name) but the settings are not picked up for the same test execution.
For example,...
0
votes
1
answer
68
views
ConfigParser - write a list as a duplicate key
I have searched stackoverflow but can't seem to find an answer similar to mine.
Most people want to parse duplicate keys, however I want to write them. (I'd prefer to do this using async file writes ...
1
vote
0
answers
560
views
Cannot access Filament admin panel pages except dashboard in the production website
"laravel/framework": "^10.10",
"filament/filament": "3.2",
"php": "^8.1",
I am facing one error in this laravel jetstream filament ...
0
votes
1
answer
108
views
Passing a Boolean variable from configuration file to tkinter checkbox
I have a problem with the behavior of checkboxes when working with the configparser for Python. The checkbox should be either checked or unchecked depending on a Boolean variable stored in config.ini. ...
2
votes
1
answer
94
views
php.ini Path Disagreement
There are two tools commonly used to identify the configuration file path of php.ini. But in my environment, Ubuntu running Apache and PHP 8.2.21, the two tools disagree.
From my browser, running a ...
0
votes
0
answers
99
views
Is there a way to know which .user.ini files have been loaded for the currently running php script?
Since the .user.ini per directory php ini files can be used to set the auto_append_file setting, thus prepending each and every php script in the folder with another script, I wanted to know if and ...
-1
votes
1
answer
71
views
How can I parse a .ini file with this type of format?
I would like to parse a generated .ini file containing some config parameters, but I am a little uncertain of the format used. I am not able to change the format of the generated .ini file. This is a ...