This is a cache of https://support.nagios.com/kb/article/nagios-xi-http-500-error-php-parse-error-unexpected-$end-153.html. It is a snapshot of the page at 2025-05-14T00:09:01.458+0000.
Nagios <strong>xi</strong> - HTTP 500 Error / PHP Parse error - Unexpected $end
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/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

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 - Notification Problems
Viewed 31267 times since Tue, Jan 27, 2015
Nagios xi - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 8334 times since Sun, Sep 10, 2017
Nagios xi - ERROR: PostgresQL not running - exiting
Viewed 5338 times since Tue, Jan 26, 2016
Nagios xi - Core 4 Load Spikes on 1.75 and 7 Hour Intervals
Viewed 4858 times since Mon, Jan 25, 2016
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 13356 times since Tue, Jan 26, 2016
Nagios xi - MSSQL Query Wizard - Invalid characters in the username
Viewed 5832 times since Thu, Aug 3, 2017
Nagios xi - Host Still Visible After Deletion (Ghost Hosts)
Viewed 12372 times since Tue, Jan 27, 2015
Nagios xi - Installing xi Fails To Install Dependency pymssql
Viewed 8767 times since Mon, Oct 17, 2016
Backups are not being generated due to tar creation errors
Viewed 4155 times since Thu, Feb 27, 2020
Nagios xi - MK Livestatus Problems With Mod-Gearman
Viewed 6108 times since Thu, Feb 25, 2016