Re: date.timezone set and still getting strict warnings.

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

 



On Tue, Jun 14, 2011 at 10:35, Tamara Temple <tamouse.lists@xxxxxxxxx> wrote:
>
> Ok, first off, are you telling me the CLI and the Web versions reference
> different php.ini files? I thought they both used /etc/php.ini...

    Depends on the compile-time arguments and such.  You can also have
local php.ini files (as in, under your public_html/ directory, et al).
 Some installs even scan those familiar '.d' directories for *.ini.
So, for example: /etc/php.d/*.ini .

> Secondly, I *did* check the output of phpinfo() from the web with the exact
> same results.
>
> Now, the problem is...
>
>       I surrounded the date.timezone setting with single quotes.
>
> So, removing the quotes got me what I needed.

    That'll do it, too.  ;-P

-- 
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/

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