[GRLUG] php.ini won't update

Adam Tauno Williams awilliam at whitemice.org
Sat Apr 27 19:47:11 EDT 2013


> Good tips. Thanks. So there are built-in defaults which obtain if
> php.ini doesn't work.

Yep, just about all software works that way [implied default values if
none are provided].  

For PHP one nice trick is : php -r 'print_r(ini_get_all());'

Save the results of that to a file so you can compare it to the results
later.  It is a *@^*&$^*&H@ when an upgrade changes an *implied*
default; unless implied defaults are documented you sit there baffled by
why things are broken.

[aside: this is like "testparm --verbose" for Samba, it dumps your
config and all the implied defaults, a handy trick for discovering when
releases change the *implied* defaults]




More information about the grlug mailing list