Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

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/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Debugging Bandwidth Performance Graphs
Viewed 13384 times since Tue, Jan 27, 2015
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 5568 times since Mon, Oct 17, 2016
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 6946 times since Sun, Sep 10, 2017
Nagios XI - Defining Global Environment Variables
Viewed 9140 times since Thu, Mar 17, 2016
Nagios Core - Failed to register iobroker
Viewed 5750 times since Wed, Sep 20, 2017
Nagios XI - MSSQL Query Wizard - Invalid characters in the username
Viewed 4695 times since Thu, Aug 3, 2017
Nagios XI - ERROR: PostgresQL not running - exiting
Viewed 4377 times since Tue, Jan 26, 2016
Nagios Core - Nagios did not exit in a timely manner
Viewed 5909 times since Wed, Jan 27, 2016
Nagios XI - Host Still Visible After Deletion (Ghost Hosts)
Viewed 10460 times since Tue, Jan 27, 2015
Nagios XI - WMI Authentication Problems
Viewed 7605 times since Thu, Feb 25, 2016