Re: Re: php ini question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux