Ad Widget

Collapse

Unable to setup zabbix frontends: PHP Fatal error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Superkikim
    Junior Member
    • Sep 2011
    • 12

    #1

    Unable to setup zabbix frontends: PHP Fatal error

    Hi,

    I'm trying to setup Zabbix for some hours now. I have installed zabbix 2.0.3 from sources.

    CentOS 6.3 (2.6.32-279.11.1.el6.x86_64), Apache/2.2.15, PHP 5.5.3.

    I have copied all frontend files in /var/www/html/zabbix and set permissions to 644 for files and 755 for folders, and changed owner to apache:apache.

    a phpinfo page works fine.

    However when I try to open the zabbix folder from the browser, I get blank page, and in error_log I get:

    Code:
    [Tue Oct 23 16:22:25 2012] [error] [client 82.146.198.81] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/zabbix/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
    pear is installed and running:
    PEAR Version: 1.9.4
    PHP Version: 5.3.3
    Zend Engine Version: 2.3.0
    Running on: Linux zabbix.hosting.sissaoui.com 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64
    include path is correct. Everything seems to be set up correctly, therefore I can only think that it comes from the zabbix 2.0.3 php files.

    Can anyone help me to sort this out ?
  • Superkikim
    Junior Member
    • Sep 2011
    • 12

    #2
    Source of the problem has been identified !

    If SELinux is deactivated, it works o_0 !!! FFS!!!!

    Comment

    Working...