Fatal error: Call to undefined function cal_days_in_month()

Is there support for calendar.so extension? Seems I have to enable the calendar to use this php function by adding --enable_calendar to the extensions.ini but I can’s find that file?

Nor am I sure how to add calendar.so

Hi @elliottrichmond,

This is for the IMAP extension, but this should work with the calendar extension as well: Add IMAP PHP Extension

Sorry, I’m struggling here a little, I tried all those steps and managed to install ssh2.so but not the calendar.so what am I missing?

Now resolved, the workaround can be found here:
http://php.net/manual/en/function.cal-days-in-month.php#104427