ini Questions
5
Solved
I am running this Docker instance of a linux debian:jessie with php 5.6.
This is part of my phpinfo :
As we can see the php.ini should be located at
/usr/local/etc/php
And this is what I ha...
1
Solved
I am working on WIX Installer. I am trying to read Directory path from .ini file to XML. I have to red the path and get the files installed to that particular path.
<Property Id="ROOTDRIVE...
4
Solved
I installed PHP 7 to my server (as a result, I have not /etc/php5 and /etc/php/7.0). When I run my web app, I cant see any of my previous CURL (or fork).
at first I got this err msg:
Message:...
Cadaverous asked 3/5, 2016 at 15:55
4
I am looking for a solution that would allow me be use attributes for a config file data.
I would like to be able to do something like this:
config = Config('config.ini')
print config.section1.us...
Nagoya asked 19/3, 2012 at 16:30
5
Solved
I used to set up environment evariables http_proxy and https_proxy (with user + password) in the past to use Pip (on Windows) behind a corporate proxy. But recently I needed to tell Pip to use a pr...
4
Solved
So, I have this settings.ini :
[SETTINGS]
value = 1
And this python script
from ConfigParser import SafeConfigParser
parser = SafeConfigParser()
parser.read('settings.ini')
print parser.get(...
Exarate asked 15/1, 2015 at 13:4
13
Solved
I am writing a drop-in replacement for a legacy application in Java. One of the requirements is that the ini files that the older application used have to be read as-is into the new Java Applicatio...
13
Solved
I'm a new Windows programmer and I'm not sure where I should store user configurable application settings. I understand the need to provide a user friendly means for the user to change applic...
Heptode asked 9/8, 2008 at 4:13
5
I need to parse an .ini file into an array, and later change the values of the array and export it to the same .ini file.
I managed to read the file, but didn’t find any simple way to write it back...
3
Solved
Python - ConfigParser - AttributeError: ConfigParser instance has no attribute '__getitem__'
I am creating a quote of the day server. I am reading options from an INI file, whose text is below:
[Server]
host =
port = 17
[Quotes]
file=quotes.txt
However, when I use ConfigParser, it give...
Hillyer asked 6/5, 2013 at 21:10
4
Solved
As the azure website states, to configure PHP I should add a .user.ini file to the root.
http://azure.microsoft.com/en-gb/documentation/articles/web-sites-php-configure/#ChangeBuiltInPHP
The issu...
3
Solved
I am working in Laravel 6.2 and have a basic database that houses a questions table that brings back an id, slug, title, body, timestamps. I have a route set up at questions that calls a controller...
Jessee asked 22/1, 2020 at 2:46
8
Solved
I use following PHP function:
file_get_contents('http://example.com');
Whenever I do this on a certain server, the result is empty. When I do it anywhere else, the result is whatever the page's c...
Stets asked 15/8, 2010 at 17:23
3
Solved
In my working directory I have two files: index.php and .user.ini:
.user.ini:
display_errors=on
; http://be2.php.net/manual/en/filter.configuration.php#ini.filter.default
;filter.default = "full...
1
Solved
I may have missed this detail but I'm trying to see if I can control the set of plugins made available through the ini configuration itself.
I did not find that item enumerated in any of the config...
3
Solved
I'm building a custom package of vnc and would like to ensure the xdcmp settings of GDM are enabled in the package post install script. The gdm.conf file is an ini style one, i.e.:
[section]
var=na...
9
I'm using QSettings to store some data as ini file in Windows.
I want to see the ini file, but I don't know what is the location of the ini file.
This is my code:
QSettings *set = new QSettings(Q...
6
Solved
Windows' GetPrivateProfileXXX functions (used for working with INI files) have some strange rules about dealing with buffer lengths.
GetPrivateProfileString's documentation states:
If [..] the ...
2
I'm getting errors when trying to parse a .env file I have, but I have no way of figuring out where it's erring out. Is there an easy way to lint/validate the file, online or otherwise?
Many thank...
Whitewash asked 25/5, 2017 at 22:29
1
I'd like to document an INI file in my Sphinx documentation. What markup should I use?
Whenever I search the Web I get description of Sphinx configuration file—conf.py.
The standard domain has so...
Khalif asked 8/7, 2019 at 9:31
1
Solved
This is a clarification required to the existing post mentioned below
How to declare an Inno Setup preprocessor variable by reading from a file
Reading value from .txt file using FileOpen works pe...
Victoir asked 4/10, 2019 at 7:19
5
Ok so PHP has the function ini_set() which a lot of people are aware of and will use to set various configuration options (here) to help with development etc. However, this function does only seem ...
Muscadine asked 10/9, 2014 at 7:46
8
Solved
Normally, I code as follows for getting a particular item in a variable as follows
try:
config = ConfigParser.ConfigParser()
config.read(self.iniPathName)
except ConfigParser.MissingSectionHeade...
Octan asked 10/7, 2010 at 20:6
5
Is it possible for the upload of ~100 MB files using PHP?
If so, what changes need to occur in the configuration file (php.ini)?
Sri
1
Solved
I'm using MySQL version 5.7.19 64bit version in my windows machine and I'm trying to change my default port number 3306.
But when I open my.ini file following error appears,
cannot find the c:\...
© 2022 - 2024 — McMap. All rights reserved.