Thank you Val.
I see the error as below
[05-Mar-2018 13:50:17 America/Indiana/Indianapolis] PHP Fatal error: Uncaught Error: Call to undefined function getallheaders() in /var/www/spicecrm/KREST/KRESTManager.php:306
Stack trace:
#0 /var/www/spicecrm/KREST/index.php(87): KRESTManager->getProxyFiles()
#1 {main}
thrown in /var/www/spicecrm/KREST/KRESTManager.php on line 306