[2009/12] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

A php error.

2009.12.27(Sun)

Yesterday, I changed my php version up from 5.2.12 to 5.3.1. Then, I have an error on apache err. log.

It says “PHP Warning:  date(): 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.”

They say new php specification requires more strict definition. So, I added a line that “date.timezone = (string $timezone_identifier)”.

Mmm…It’s too much of a bother.

Edit:
   New version “php5.3″ doesn’t have a line “#extension=php_mcrypt.dll
” in the file “php.ini” and two files “libmysql.dll, libmcrypt.dll” in the folder “PHP”.
   I think libmysql.dll —> php_mysqli.dll, and some dlls are united into the folder “PHP\ext”.
   I deleted three files “libmysql.dll, libmcrypt.dll and php_gd2.dll” from “windows sys32″.


 


 

 Similar Posts:

Leave a comment

Until 24 hours, you can edit your comment from the same browser if the same PC.
But, within 24 hours, the comment will be uneditable when it has any newer comments.