From:
Operating system: Win32
PHP version: 5.3.2
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Bug when you provide the absolute php-interpreter path
Description:
------------
Bug occurs even when you run the script from the command line and you
provide the absolute path of your php interpreter like c:\php\php.exe
.....
also described in #51890 (but marked as bogus by kalle)
Test script:
---------------
just tpye in the command line
got an error:
=============
c:\php\php.exe -r "echo strftime('%H:%M:%S',time());"
no error:
=========
php.exe -r "echo strftime('%H:%M:%S',time());"
Expected result:
----------------
11:04:54
Actual result:
--------------
PHP Warning: strftime(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are
still getting this warning, you most likely misspelled the timezone
identifier. We selected 'Europe/Paris' for '2.0/DST' instead in Command
line code on line 1
Warning: strftime(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are stil
l getting this warning, you most likely misspelled the timezone identifier.
We selected 'Europe/Paris' for '2.0/DST' instead in Command line code on
line 1
--
Edit bug report at http://bugs.php.net/bug.php?id=51948&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51948&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51948&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=51948&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=51948&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=51948&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51948&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=51948&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=51948&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=51948&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=51948&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=51948&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=51948&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=51948&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51948&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51948&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51948&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=51948&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=51948&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=51948&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=51948&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=51948&r=mysqlcfg