#18839 [Bgs]: Units for php.ini values
| From: | ben at parcelrecords dot com | Date: | Mon, 12 Aug 2002 21:32:12 +0000 |
| Subject: | #18839 [Bgs]: Units for php.ini values | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16554@lists.php.net to get a copy of this message | ||
ID: 18839
User updated by: ben@parcelrecords.com
Reported By: ben@parcelrecords.com
Status: Bogus
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 4.2.2
New Comment:
I realize your point, however, I feel that quality documentation
out-of-the-box is not an unreasonable request. Many users trying to
configure php for the first time (or even subsequently) have problems
deciphering some of the options, and even the comments, which can be
vague. For instance,
; The path for which the cookie is valid.
session.cookie_path = /
It is unclear if this means the path on the local machine, the path as
seen by the browser-agent, etc.
In addition, consistency in the file would also be preferred, for
instance, why is
session.gc_maxlifetime in seconds
session.cache_expire in minutes
max_execution_time in seconds
output_buffering in bytes
memory_limit in megabytes
post_max_size in megabytes
odbc.defaultlrl in bytes
(other db configurations) in bytes
its a minor thing, but still consistency is important.
Previous Comments:
------------------------------------------------------------------------
[2002-08-10 09:35:11] kalowsky@php.net
You are welcome to make the php.ini look however you'd like on your
machine. Realize what you're asking is not really a PHP issue, but an
administration issue. We distribute PHP with a list of recommeneded
php.ini values, if you change them, how you keep track of them is your
choice. You can, for example, do something like this....
Original will look like this:
foo = 45
Your changes can be kept track like so:
foo = 33 ; 45 | seconds
anything after the ; will be kept as a comment.
------------------------------------------------------------------------
[2002-08-09 17:28:47] ben@parcelrecords.com
Hi, when using phpinfo(), all the results are listed like this:
option name | local value | master value
what would be really helpful, however (this would be nice to
consistently have in the php.ini comments as well)
would be a field for units i.e
option name | local value | master value | units
session.cache_expire | 20 | 20 | minutes
session.gc_maxlifetime | 1200 | 1200 | seconds
that would make it a little easier to figure and configure
thanks,
Ben
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18839&edit=1