#49408 [NEW]: Wrong PHP Startup error messages
From: jo at feuersee dot de
Operating system: Linux
PHP version: 5.3.0
PHP Bug Type: *General Issues
Bug description: Wrong PHP Startup error messages
Description:
------------
After upgrading to PHP 5.3.0 I wanted to clean up the pecl repos (I
had the intl extension running with PHP 4.4) by issuing
$ pecl uninstall intl
Unfortunately, this didn't rm the intl.so in the directory where I
installed it but the intl.so of PHP 5.3.0 (totally different
directory).
It took some time to figure this out because both CLI and Apache mod
only stated some issue with the timezone settings (which are
perfectly ok).
Reproduce code:
---------------
rm eg. the intl extension (intl.so), restart apache or just issue
$ php -m
Expected result:
----------------
Requested extension 'intl.so' missing in '/usr/lib/php5/extensions'
Actual result:
--------------
PHP Fatal error: PHP Startup: Timezone database is corrupt - this
should *never* happen! in Unknown on line 0
[Sat Aug 29 22:21:19 2009] [notice] seg fault or similar nasty error
detected in the parent process
PHP Warning: PHP Startup: 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/Berlin' for 'CEST/2.0/DST' instead in Unknown on
line 0
--
Edit bug report at http://bugs.php.net/?id=49408&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49408&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49408&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49408&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49408&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49408&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49408&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49408&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49408&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49408&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49408&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49408&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49408&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49408&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49408&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49408&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49408&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49408&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49408&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49408&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49408&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49408&r=mysqlcfg
Thread (3 messages)
- jo at feuersee dot de