Re: Re: php ini question

From: Date: Wed, 13 May 2015 00:52:26 +0000
Subject: Re: Re: php ini question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-324893@lists.php.net to get a copy of this message
On May 12, 2015, at 5:17 PM, Christoph Becker wrote:
Jeffry Killen wrote:
Now I am looking at phar archiving and see the stated necessity of having the php.ini directive: phar.readonly set to Off (or false, or 0 or other 'falsy' value)
That is, however, not necessary, if you use the PharData class only.
So, I look in output from phpinfo() to see if there is a php.ini file to be used, by name, and I cannot find one, not even php.ini.default. The only indication is the directory location of ini files, /etc: php.ini.default is the only explicit php.ini file there.
Hm, when I call phpinfo() I see the following four related rows (one directly below the other): * Configuration File (php.ini) Path * Loaded Configuration File * Scan this dir for additional * Additional .ini files parsed Anyhow, you can get the path of the php.ini files in use by calling php_ini_loaded_file() and php_ini_scanned_files().
Thank you, I will look back at it again. JK

« previous php.general (#324893) next »