Announcement

Collapse
No announcement yet.

[SOLVED] How to avoid "Load function required Timezone extension in php'

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] How to avoid "Load function required Timezone extension in php'

    Hi everubody,

    I have an application that load files into the server using document(database) (or any of the other options image(database)...).

    In dev environment everything works ok.
    However, in production environment, after I put the application with debug-mode option on I receive following message

    Sin título.jpg

    In english should be something like ' "Load function required Timezone extension in php'...'

    I disable debug-mode and try again.
    Everything works ok except this message I'm unable to eliminate.

    Anyone knows how?

    Regards,

  • #2
    In your production environment your php installation does not comply with the requirements. I think you need to look into your php.ini and enable the timezone extension. Useually you just need to uncomment the appropiate line. You don't need to search for a solution within SC because it's a php issue.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hi Albert,

      Sunday and working . . .

      Thak you very much for your response.

      In fact I found a php.ini file in /etc/php5/cli directory and changed timezone.

      Now I look for all php.ini under /etc/ and found another one in /etc/php5/apache2.
      I changed this php.ini and I'll ask to restart the server.

      I'll inform everybody.

      Regards,

      Josť Miguel

      Comment


      • #4
        Hi everybody,

        In fact, modifying /etc/php5/apache2 and restarting apaching works ok

        REgards,

        JM

        Comment

        Working...
        X