Categories: php script

A php error.

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”.

o6asan

Share
Published by
o6asan

Recent Posts

Very easy, sweet potato yōkan recipe.

The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…

1 year ago

On my home network, I’ve built an FTP server that I left for long time.

After a long time, when I checked broken links and fixed them, I got an…

3 years ago

Moving “o6asan’s BBS”.-#2

I made a box, so I prepare the contents. Theme and Plugins. The theme is…

3 years ago

Moving “o6asan’s BBS”.

Hehe, it's been almost a year since my last post. I received a notification email…

3 years ago

I completed my WordPress to Sub-domain.

About a week ago, I finally started to renew my sites, which I had been…

4 years ago

Happy New Year!

   Happy New Year! It is the beginning of a new year.    This is a year…

6 years ago

This website uses cookies.