php ini question

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

 



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

--
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