# Patch: Some undocumented php.ini directives

- Thread: https://externals.io/message/145
- Original archive: https://news-web.php.net/php.internals/145
- Started by Joey Smith on 2003-03-22T17:26:27+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #145 — Joey Smith — 2003-03-22T17:26:27+00:00

URL: https://externals.io/message/145#145

I'm not sure what to do with these, but it annoys me that there are
directives which don't even appear in php.ini-dist which can actually
affect how PHP works. Here's some I've found, but I'm not sure what the
policy is. Anyone have a problem with adding these after 4.3.2?

Jani: These aren't new directives. They're already there, but no one knows
it. ;)

See attached for patch.

---

## #146 — mbretter@jawa@Michael Bretterklieber — 2003-03-22T18:09:33+00:00

URL: https://externals.io/message/145#146 · In reply to: #145

Hi,

Joey Smith wrote:
> I'm not sure what to do with these, but it annoys me that there are
> directives which don't even appear in php.ini-dist which can actually
> affect how PHP works. Here's some I've found, but I'm not sure what the
> policy is. Anyone have a problem with adding these after 4.3.2?
> 
> Jani: These aren't new directives. They're already there, but no one knows

> +
> +; Undocumented
> +;mssql.datetimeconvert = On
> 

I submitet the patch wich added this param, it just disables the 
internal datetimeconversion of the mssql-dblib, wich does sometimes 
weird things. Datetime-values are returned in the format "YYYY-MM-DD 
HH24:MI:SS", if this ini-param is set to off, the default value is on.

bye,
-- 
------------------------------- -------------------------------------
Michael Bretterklieber        - Michael.Bretterklieber@jawa.at
JAWA Management Software GmbH - http://www.jawa.at
Liebenauer Hauptstr. 200        -------------- privat ---------------
A-8041 GRAZ                     GSM: ++43-(0)676-93 96 698
Tel: ++43-(0)316-403274-12      E-mail:   michael@bretterklieber.com
Fax: ++43-(0)316-403274-10      http://www.bretterklieber.com
------------------------------- -------------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972

---

## #147 — Joey Smith — 2003-03-22T19:14:00+00:00

URL: https://externals.io/message/145#147 · In reply to: #146

Michael:

  Thanks for speaking up! I'd be glad to document this with your help. I
have a few questions.

	1) What is the format when this param is set to on?
	2) This parameter doesn't appear to have any effect on the way
		FreeTDS returns dates from MSSQL. Can you confirm/deny that?


> Hi,
> 
> Joey Smith wrote:
> > […]
> 
> > […]
> 
> I submitet the patch wich added this param, it just disables the 
> internal datetimeconversion of the mssql-dblib, wich does sometimes 
> weird things. Datetime-values are returned in the format "YYYY-MM-DD 
> HH24:MI:SS", if this ini-param is set to off, the default value is on.
> 
> bye,
> -- 
> ------------------------------- -------------------------------------
> Michael Bretterklieber        - Michael.Bretterklieber@jawa.at
> JAWA Management Software GmbH - http://www.jawa.at
> Liebenauer Hauptstr. 200        -------------- privat ---------------
> A-8041 GRAZ                     GSM: ++43-(0)676-93 96 698
> Tel: ++43-(0)316-403274-12      E-mail:   michael@bretterklieber.com
> Fax: ++43-(0)316-403274-10      http://www.bretterklieber.com
> ------------------------------- -------------------------------------
> "...the number of UNIX installations has grown to 10, with more
> expected..." - Dennis Ritchie and Ken Thompson, June 1972
