ID: 48882
Comment by: theodore at phpexperts dot pro
Reported By: vonpreussen at 2secure dot us
Status: No Feedback
Bug Type: Date/time related
Operating System: centos 5
PHP Version: 5.3.0
New Comment:
I experienced this with PHP 5.3.0-Thread Safe on Windows XP SP3,
running
Wamp.
I was trying to load the blitz extension, which was never being picked
up. Upon finding this bug report, I found out that php_ftp.dll did not
exist; the php.ini was not interrupted past the line
extension=php_ftp.dll
After commenting out that line, everything under it (including blitz)
was parsed.
I consider this a pretty serious bug.
Previous Comments:
------------------------------------------------------------------------
[2009-11-05 16:25:05] mkliewe at gmx dot de
I had the same problem. I tried date.timezone and
date_default_timezone_set(), but nothing worked.
The real problem was an extension load problem. after solving this the
error disappeared. Strange behaviour.
------------------------------------------------------------------------
[2009-10-05 22:03:54] warwick dot shaw at gmail dot com
To reproduce on "CentOS release 5.3 (Final)"
Any syntax error in the /usr/lib/lib/php.ini causes the above.
In my case
...
date.timezone='America/New_York'
...
extension = "tidy.so"a
Remove the trailing "a" then ok
Other cases that caused same the error
1. an extension doesn't exist
extension = "doesnotexist.so"
2. an extension was installed from a rpm for a previous version.
A command to just validate the php.ini configuration would be handy.
------------------------------------------------------------------------
[2009-08-25 16:21:35] brunofr at ioda dot net
exactly the same error with opensuse package ( build repos server/php
)
under 11.1 version
If export TZ in profile or apache2 startup script
it works.
------------------------------------------------------------------------
[2009-08-06 17:47:57] bug dot dmca at gmail dot com
apache module fixed by adding TZ=GMT in init.d script. Don't know if
there any other way, but at least it's working.
------------------------------------------------------------------------
[2009-08-06 17:05:52] bug dot dmca at gmail dot com
cli fixed after adding TZ=GMT in /etc/profile
apache module still not working.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48882
--
Edit this bug report at http://bugs.php.net/?id=48882&edit=1