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 - ERROR: PostgresQL not running - exiting
Viewed 1077 times since Tue, Jan 26, 2016
Nagios XI - SNMPTT Service generates Cannot find module errors
Viewed 1235 times since Sun, Apr 9, 2017
Nagios XI - Hosts Pending/Gray
Viewed 2718 times since Tue, Jan 6, 2015
Nagios XI - Resetting The nagiosadmin Password
Viewed 10545 times since Mon, Jan 25, 2016
Nagios XI - Best Practices - NWC15
Viewed 1742 times since Thu, Feb 4, 2016
Nagios XI - Modifying The Contents Of /usr/local/nagios/etc
Viewed 1166 times since Tue, Jan 26, 2016
Nagios XI - Schedulded Backups No Longer Working
Viewed 1713 times since Fri, Jun 3, 2016
Nagios XI - Configuration Applies, No Changes Take Place
Viewed 1516 times since Tue, Jan 27, 2015
Nagios XI - How To Test Check Commands From The Command-line
Viewed 9780 times since Tue, Jan 26, 2016
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 2541 times since Tue, Jan 26, 2016