Nagios XI - HTTP 500 Error / PHP Parse error - Unexpected $end

Problem Description

For those doing manual installations, some of the tools embedded in Nagios XI use the PHP short tags feature, which is not necessarily enabled on all web servers by default. This results in the errors "HTTP 500 Error"/"PHP Parse error - Unexpected $end".

 

Resolving The Problem

To fix this issue, locate your php.ini file (located at /etc/php.ini for CentOS installations), and verify that "short_open_tag" is set to "on." We intend to use full tags for future version, but some components and addons may still use them, so we recommend leaving this setting to "on."

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

Posted by: - Mon, Jan 25, 2016 at 11:54 PM. This article has been viewed 3745 times.
Online URL: https://support.nagios.com/kb/article/nagios-xi-http-500-error-php-parse-error-unexpected-$end-153.html

Powered by PHPKB (Knowledge Base Software)