stackvana / hook.io

Open-Source Microservice Hosting Platform
https://hook.io
Other
1.27k stars 119 forks source link

PHP Timezone database corrupt #231

Closed mrkwanzaa closed 8 years ago

mrkwanzaa commented 8 years ago

The php timezone database isn't working. Here is my exact error message.

PHP Fatal error: strftime(): Timezone database is corrupt - this should *never* happen! in /bin/run-hook-php(43) : eval()'d code(82) : eval()'d code on line 1

Marak commented 8 years ago

Based on some quick googling, looks like a simple fix: http://stackoverflow.com/questions/8751221/php-timezone-database-is-corrupt-error

Since php is running inside a chroot, we need to give it access to this.

I'll see if I can hot-patch the server tonight.

mrkwanzaa commented 8 years ago

@Marak It still appears to be an issue. Any progress?

Marak commented 8 years ago

@mrkwanzaa Try now?

Marak commented 8 years ago

If not work, please send link to service with error. I will look later tonight. Thanks!

mrkwanzaa commented 8 years ago

@Marak Sorry, I wasn't able to test it until now, but works great. Thanks!

Marak commented 8 years ago

Awesome! Sorry for the delay. Please let me know if there is anything else we can do to improve PHP support.