php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47323 strotime warnings in make install
Submitted: 2009-02-06 03:46 UTC Modified: 2009-04-11 02:36 UTC
From: frozenfire at thefrozenfire dot com Assigned: dufuz
Status: Closed Package: PHAR related
PHP Version: 5.3.0RC1 OS: Ubuntu 8.10 2.6.27-11-generic
Private report: No CVE-ID:
 [2009-02-06 03:46 UTC] frozenfire at thefrozenfire dot com
Description:
------------
I've configured a vanilla install of PHP 5.3 Beta 1, using ./configure --prefix=/usr/local/php-5.3 --program-suffix=53

After configuring (And resolving some missing dependencies), I did a make, and then a make test (Results submitted).

Next, I did a make install, which produced:

Warning: strtotime(): 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 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in phar:///home/myuser/php-5.3.0beta1/pear/install-pear-nozlib.phar/PEAR/Validate.php on line 489

About a dozen times during "Installing PEAR environment: /usr/local/php-5.3/lib/php/"

I don't know if it's related, but the interactive mode in PHP doesn't work (php53 -a). It prints out "Interactive mode enabled" and then allows input, but doesn't process it in any way, including "exit."

Reproduce code:
---------------
sudo ./configure --prefix=/usr/local/php-5.3 --program-suffix=53
sudo make
sudo make test
sudo make install

Expected result:
----------------
For the make install, I expected none of the warning messages.

Actual result:
--------------
Full make install output: http://pastebin.ca/1328662

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-16 00:48 UTC] dufuz@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

This will be fixed when the next release of the PEAR installer goes live
 [2009-03-26 08:25 UTC] philip@php.net
This bug still exists with 5.3.0RC1 so should remain open until that 
changes.
 [2009-03-26 13:59 UTC] cellog@php.net
the bug will be fixed when PEAR 1.8.0 is released, which will be very soon, Helgi is hard at work.  You are correct that this should not be closed until the phar archive is released, but Helgi is also correct in that this was fixed in the CVS of PEAR.

Complicated stuff.
 [2009-04-11 02:36 UTC] dufuz@php.net
PEAR 1.8.0 stable has been released and phars should now be synced up and all fine.
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 14:01:50 2014 UTC