|Subject:||its gives errors on php.|
|Summary:||Package rating comment|
adnan rated this package as follows:
|Consistency: ||Not sure|
|Examples: ||Not sure|
|its gives errors on php.ini file reading.|
its totally wastage of time.
|2013-03-11 15:23:57 - In reply to message 1 from adnan|
|Did You configure it properly?|
Parser (class Ini_Parser: lib/Ini/Parser.php) is working by default with nested sections. If You want to parse traditional ini file, You must disable it:
by Conf: $conf = new Conf('/etc/php5/cli/php.ini', false);
by Ini_Parser: Ini_Parser::parseFile($ini_file, false);
Second parameter is for enable nesting. It's set to true by default.
Further versions will generate errors when sections aren't closed - like a sgml ([section][/section]).
I think this errors are generated because You try to get unavailable section/variable.