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 (4)
Article Rating (4 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 - Some BPI Checks Show "Unknown BPI Group Index" After Upgrade
Viewed 5244 times since Wed, Sep 18, 2019
Nagios XI - Scheduled Reports Not Running
Viewed 6881 times since Thu, Aug 10, 2017
Pages Not Displaying Correctly
Viewed 9786 times since Mon, Jan 25, 2016
Nagios XI - Bandwidth Graphs Showing 0Mb/s in Non-English Systems
Viewed 8849 times since Fri, Dec 19, 2014
Nagios XI - Common Upgrade Failures And Solutions
Viewed 16098 times since Thu, Jun 29, 2017
Slack Notifications Stopped Working
Viewed 5844 times since Wed, Mar 18, 2020
Nagios XI - Resetting The nagiosadmin Password
Viewed 51291 times since Mon, Jan 25, 2016
Nagios XI - Last Check Time Not Updating
Viewed 26223 times since Tue, Jan 6, 2015
Enabling Oracle Linux Optional Repository
Viewed 20979 times since Mon, May 14, 2018
Nagios XI - Scheduled Downtime Not Working
Viewed 8949 times since Mon, Oct 10, 2016