I just spun up a “flex” docker trying to get the basic mobile interface up. It requires php to be compiled with calendar support. Yet when I try to run functions such as:
cal_days_in_month()
cal_to_jd()
jddayofweek()
jdmonthname()
the error.log fills up:
[Mon Jul 01 16:14:10.879732 2019] [php7:error] [pid 570] [client 172.27.0.1:45516] PHP Fatal error: Uncaught Error: Call to undefined function cal_days_in_month() in /var/www/localhost/htdocs/openemr/interface/main/mobile/m_cal.php:82\nStack trace:\n#0 {main}\n thrown in /var/www/localhost/htdocs/openemr/interface/main/mobile/m_cal.php on line 82, referer: https://localhost:9300/interface/main/mobile/camera.php?v=5cda1937135bb65cf362ec24868626e9
Yet phpinfo() says it was compiled "–enable-calendar=shared’ " with calendar support.
bash-4.4# php -v
PHP 7.2.19 (cli) (built: Jun 14 2019 18:21:33) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
Any ideas where I am going wrong?