php ini question

From: Date: Tue, 12 May 2015 23:03:40 +0000
Subject: php ini question
Groups: php.general 
Request: Send a blank email to php-general+get-324891@lists.php.net to get a copy of this message
Hi again; 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) So I find only one php.ini file: php.ini.default and edit the line with this directive and restart Apache and check phpinfo(). The value has not changed. There are other settings which don't appear to be active: error reporting is set to off and log errors is set to on, but there is no err log and errors are being displayed. 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. I seem to remember from the days when I was compiling and installing Apache, php, mysql from source on FreeBSD systems, that the php.ini used by php should be copied from php.ini.default: as with httpd.conf, should be copied from the default .conf or .ini file and edited for use. It seemed to me that that was part of the compilation process: to specify the php.ini file to use. But I don't see that in the head section of phpinfo() output. (or have missed it) Thanks again for time and attention JK

« previous php.general (#324891) next »