[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

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,

Sin título.jpg

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.

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

Hi everybody,

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

REgards,

JM

Maybe it can work for someone else in the future: