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
Web Browser Reports 330 Error Content Encoding
Viewed 728 times since Tue, Mar 7, 2017
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 579 times since Tue, Feb 2, 2016
Nagios Core - Failed to register iobroker
Viewed 703 times since Wed, Sep 20, 2017
Nagios XI - Problems with $ Signs in the Check Command
Viewed 1106 times since Tue, Jan 26, 2016
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 848 times since Mon, Jun 18, 2018
Active Directory / LDAP - Troubleshooting Authentication Integration
Viewed 2528 times since Mon, Jun 26, 2017
Nagios XI - Status Information Cut Off At 256 Characters
Viewed 993 times since Thu, Feb 25, 2016
Nagios XI - Troubleshooting Reports
Viewed 756 times since Wed, Dec 5, 2018
Nagios XI - Core Configuration Mananger Display Issues
Viewed 579 times since Tue, Jan 26, 2016
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 956 times since Sun, May 29, 2016