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:


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 - HTTP 500 Error / White Screen After Login
Viewed 2496 times since Mon, Feb 29, 2016
Disabling Outdated Versions of SSL/TLS
Viewed 1534 times since Thu, Aug 6, 2020
Nagios XI - Scheduled Backup Log Level
Viewed 2451 times since Tue, Apr 18, 2017
Nagios XI - Core 4 Load Spikes on 1.75 and 7 Hour Intervals
Viewed 2118 times since Mon, Jan 25, 2016
API changes in Nagios XI 5.7
Viewed 552 times since Tue, Feb 23, 2021
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 2389 times since Thu, Mar 8, 2018
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 2909 times since Mon, Jun 18, 2018
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 3260 times since Sun, Sep 10, 2017
Nagios XI - NSP: Sorry Dave, I can’t let you do that
Viewed 16015 times since Tue, Jan 27, 2015
Nagios XI - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 2173 times since Tue, Jan 26, 2016