hi all,
I have a strange problem installing the php-java interaction on my
production server:
I get the php error:
>Error #10002 - Invalid server command. date_default_timezone_get()
[<a
href='function.date-default-timezone-get'>function.date-default-timezone-get</a>]:
It is not safe to rely on the system's timezone settings. Please use the
date.timezone setting, the TZ environment variable 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/Paris' for
'1.0/no DST' instead
In my dev envoronment it does not happen.
When I set the date.timezone in the php.ini the error remains, but
without detailed message, only:
Error #10002 - Invalid server command.
The error happens to come when calling:
java_autoload("lucene-core-2.9.1.jar;lucene-analyzers-2.9.1.jar");
in my php script
What's wrong here?
dev server: xampp 1.6.8 with php 5.2.6
prod server: 1.6.4 with php 5.2.4 (tried 5.2.6 as well)
Best regards
tk
|