Ad Widget

Collapse

Zabbix3.0beta1 Web Frontend error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abovebeyond
    Member
    • Dec 2015
    • 32

    #1

    Zabbix3.0beta1 Web Frontend error 500

    Hi , trying to install Zabbix3 beta 1
    getting the following error


    [Sun Jan 24 15:53:02 2016] [error] [client XXX] PHP Parse error: syntax error, unexpected '[' in /var/www/html/zabbix/index.php on line 29


    how can i solve it?

    Thanks !
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Probably version of PHP is old.
    Please try to use PHP 5.4 or higher.

    Manual:

    Comment

    • abovebeyond
      Member
      • Dec 2015
      • 32

      #3
      Thanks ! tried to install php 5.6 but getting the following error

      Error: php56w-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64


      how do i solve it?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Please try remove php-common package and install php56w-common package.

        Comment

        • abovebeyond
          Member
          • Dec 2015
          • 32

          #5
          Thanks Atsushi

          have few more issues:

          At least one of MySQL, PostgreSQL, Oracle, SQLite3 or IBM DB2 should be supported. (i installed and configure zabbix DB using the following tutorial:




          PHP gd extension missing (PHP configuration parameter --with-gd).
          PHP gd PNG image support missing.
          PHP gd JPEG image support missing.
          PHP gd FreeType support missing.



          Thanks , appreciate your help

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            What dbms your installed?
            MySQL? PostgreSQL?

            If you use MySQL, I think php56w-mysqlnd is needed.
            If you use PostgreSQL, I think php56w-pgsql is needed.

            And, are you installed php56w-gd, php56w-bcmath, php56w-pdo, php56w-xml and php56w-mbstring?

            Comment

            • abovebeyond
              Member
              • Dec 2015
              • 32

              #7
              thanks the php56w-mysqlnd solved the first problem

              what about the php gd errors?

              Comment

              • Atsushi
                Senior Member
                • Aug 2013
                • 2028

                #8
                Do you installed php56w-gd package?
                Do you restart Web server?

                Comment

                • abovebeyond
                  Member
                  • Dec 2015
                  • 32

                  #9
                  i needed to reboot the server for some reason

                  its working now

                  thanks !!

                  Comment

                  Working...