php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49408 Wrong PHP Startup error messages
Submitted: 2009-08-29 21:44 UTC Modified: 2009-08-30 12:12 UTC
From: jo at feuersee dot de Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.3.0 OS: Linux
Private report: No CVE-ID: None
 [2009-08-29 21:44 UTC] jo at feuersee dot de
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-30 01:25 UTC] jani@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-08-30 12:12 UTC] jo at feuersee dot de
Is fixed in current PHP 5.3.1-dev, verified with 200908301030 
snapshot
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 05:01:33 2025 UTC