php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48549 Loop at start-up
Submitted: 2009-06-14 16:28 UTC Modified: 2009-06-15 08:48 UTC
From: jom at grosjo dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3.0RC3 OS: Linux OpenSUSE 11.0 x86_64
Private report: No CVE-ID: None
 [2009-06-14 16:28 UTC] jom at grosjo dot net
Description:
------------
PHP loops (without starting parsing the PHP script) on the following error (while date.timezone is correctly set in /etc/php.ini)

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/Helsinki' for 'EEST/3.0/DST' instead in Unknown on line 0


Reproduce code:
---------------
Compile PHP with following settings
./configure  --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-mod-charset --with-apxs2=/usr/sbin/apxs --enable-force-cgi-redirect --enable-discard-path --enable-fastcgi --disable-debug --enable-wddx --enable-sigchild --enable-magic-quotes --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --with-curlwrappers --enable-dba --enable-flatfile --with-db4 --with-gdbm --enable-inifile --enable-ftp --with-gd=/usr --with-gettext --with-gmp --with-imap=/usr -without-interbase --with-ldap=/usr --with-ldap-sasl --enable-mbstring --with-mcrypt --with-mhash --disable-gcov --with-mime-magic --with-mysql --with-mysql-sock=/data/mysql/mysql.sock --with-ncurses --enable-pcntl --without-pdo-firebird --with-pdo-mysql --with-pdo-pgsql --disable-safe-mode --disable-ipv6 --with-ttf=/usr --with-libedit --with-readline --with-mm --enable-shmop --enable-soap --with-snmp --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-xml --with-xmlrpc --with-xsl --enable-zip --enable-largefile
s --with-imap-ssl --with-jpeg-dir=/usr --enable-shared --enable-tatic --with-xpm-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-freetype-dir=/usr --with-t1lib --with-config-file-path=/etc --enable-fileinfo --enable-filter --with-pgsql --enable-pcntl --enable-cgi --enable-exif --enable-json --enable-intl --enable-phar --with-pear --with-pic


Run ./sapi/cli/php


Expected result:
----------------
-


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-15 08:48 UTC] jani@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #48534
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 07:01:31 2025 UTC