Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 20:06:00

Author Topic: Date in php56m not configured properly  (Read 1096 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Date in php56m not configured properly
« on: 2016-01-02, 12:33:33 »
Please see:

Quote
Warning: phpinfo(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/admin/plotki/td/phpinfo.php on line 1

date/time support    enabled
"Olson" Timezone Database Version    0.system
Timezone Database    internal
Default timezone    UTC
Directive   Local Value   Master Value
date.default_latitude   31.7667   31.7667
date.default_longitude   35.2333   35.2333
date.sunrise_zenith   90.583333   90.583333
date.sunset_zenith   90.583333   90.583333
date.timezone   no value   no value

I got date.timezone = "Europe/Warsaw" in /opt/php56m/custom/php.ini
« Last Edit: 2016-01-02, 12:35:12 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Date in php56m not configured properly
« Reply #1 on: 2016-01-02, 13:15:36 »
By default, date.timezone is 'Europe/London'. So, Kloxo-MR just setting 'date.timezone' related to date configure.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Date in php56m not configured properly
« Reply #2 on: 2016-01-02, 18:21:09 »
By default, date.timezone is 'Europe/London'. So, Kloxo-MR just setting 'date.timezone' related to date configure.

But it doesn't work. It shows this error even on phpinfo page. I'm using it as a secondary PHP.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Date in php56m not configured properly
« Reply #3 on: 2016-01-02, 19:02:49 »
Secondary php only use 'standard' php.ini inside /opt/phpXYm/custom.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Date in php56m not configured properly
« Reply #4 on: 2016-01-03, 00:02:19 »
Secondary php only use 'standard' php.ini inside /opt/phpXYm/custom.

It's properly configured out there as well, but it's not working...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Date in php56m not configured properly
« Reply #5 on: 2016-01-03, 03:45:19 »
Secondary php only use 'standard' php.ini inside /opt/phpXYm/custom.

It's properly configured out there as well, but it's not working...
Using suphp or fcgid mode?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Date in php56m not configured properly
« Reply #6 on: 2016-01-03, 14:18:04 »
Secondary php only use 'standard' php.ini inside /opt/phpXYm/custom.

It's properly configured out there as well, but it's not working...
Using suphp or fcgid mode?.

See: http://tnij.org/rw0lqrs

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Date in php56m not configured properly
« Reply #7 on: 2016-01-03, 15:05:27 »
Try 'date.timezone' with format 'Europe/Warsaw'. Better restart web server.

You can check http://ra1.mratwork.com/phpinfo/ and http://ra1.mratwork.com/phpinfo56/
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Date in php56m not configured properly
« Reply #8 on: 2016-01-03, 16:01:03 »
Try 'date.timezone' with format 'Europe/Warsaw'. Better restart web server.

You can check http://ra1.mratwork.com/phpinfo/ and http://ra1.mratwork.com/phpinfo56/

Does not help !

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.042 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM