THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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!

1 (6)
Article Rating (6 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 - Profile Build Failed
Viewed 16402 times since Tue, Aug 2, 2016
SSL Certificate does not validate properly
Viewed 7771 times since Wed, Jan 20, 2021
Nagios XI - mysql_error out of range value for column
Viewed 9746 times since Tue, Aug 14, 2018
Pages Not Displaying Correctly
Viewed 10896 times since Mon, Jan 25, 2016
Nagios XI - Bandwidth Graphs Showing 0Mb/s in Non-English Systems
Viewed 9909 times since Fri, Dec 19, 2014
Nagios XI - Display All Scheduled Reports
Viewed 7068 times since Wed, Oct 12, 2016
Nagios XI - MRTG Reports SNMP_Session Errors
Viewed 8682 times since Wed, Jul 27, 2016
Nagios XI - Host Still Visible After Deletion (Ghost Hosts)
Viewed 14848 times since Tue, Jan 27, 2015
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 10552 times since Thu, Feb 25, 2016
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 10635 times since Sun, Sep 10, 2017