Bug #15916 [Opn->Dup]: pear install during make install causes warnings

From: Date: Fri, 20 Feb 2009 13:58:37 +0000
Subject: Bug #15916 [Opn->Dup]: pear install during make install causes warnings
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-46@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=15916&edit=1 ID: 15916 Updated by: helgith@gmail.com Reported By: philip at roshambo dot org Summary: pear install during make install causes warnings -Status: Open +Status: Duplicate Type: Bug Package: PEAR Operating System: CentOS PHP Version: 5_3 CVS-2009-02-19 -Roadmap Versions: +Roadmap Versions: 1.8.0alpha1 New Comment: <div id="changeset"> <span class="removed">-Status: Open</span> <span class="added">+Status: Duplicate</span> <span class="removed">-Roadmap Versions:</span> <span class="added">+Roadmap Versions: 1.8.0alpha1</span> </div> Duplicate of PHP Bug #47323 that has already been fixed - The fix will not go live until PEAR 1.8 goes stable (so phars can be updated), at least a alpha will have to be done but this should all be done before 5.3 goes stable Previous Comments: ------------------------------------------------------------------------ [2009-02-19 21:19:53] philip Description: ------------ Upon installation the following errors result after 'make install': Warning: date(): 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 'UTC' for 'GMT/0.0/no DST' instead in phar:///local/src/php-5.3.0beta1/pear/install-pear-nozlib.phar/PEAR/Registry.php on line 938 ... many more ... 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 'UTC' for 'GMT/0.0/no DST' instead in phar:///local/src/php-5.3.0beta1/pear/install-pear-nozlib.phar/PEAR/Validate.php on line 489 ... many more ... I believe a recent change to PHP 5 making this an E_WARNING error instead of an E_STRICT is related, a change that took place on January 27, 2009. Test script: --------------- wget php5.3-beta1.tar.gz tar xfvz php5.3-beta1.tar.gz ./configure make make install Expected result: ---------------- No E_WARNING errors. Also, I should not be expected to already have a php.ini (with this set) already on the system. Actual result: -------------- See above. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=15916&edit=1

« previous php.pear.bugs (#46) next »