How to install zabbix in web folder

Discussion in 'HOWTO-Related Questions' started by steve1084, Jul 13, 2007.

  1. steve1084

    steve1084 New Member

    Hi Falko

    I just tried doing the install of Zabbix on my debian etch with ispconfig and suphp only to find that it wont work because php is globaly turned off.

    I did find one thread that suggested installing into a web folder created by ispconfig.

    Thats where I fall down because in the install script It doesn't ask where you want to install it.

    apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent

    What do I do. Do I run this command from within the chosen www folder. and also do I need to remove the none working current install.

    Is there an alternative install method just for inside webhost folder.

    Can the howto be updated to include relevent info for people running ispconfig or at least add a link to a forum thread for people using ispconfig

  2. falko

    falko Super Moderator

    What's in /etc/zabbix/apache.conf?

    I think you must copy the contents into the Apache Directives field of a web site in ISPConfig. Afterwards, you should be able to access Zabbix in that web site.
  3. steve1084

    steve1084 New Member

    Hi Falko

    Contents are

    When I go to the zabbix folder
    Instead of getting a working zabbix I get the script contents as follows

  4. falko

    falko Super Moderator

    Did you enable PHP for that web site? Can you post the vhost configuration here (from Vhosts_ispconfig.conf)?
  5. steve1084

    steve1084 New Member

    Yes I did

    Here is all I can give






    I have edited to remove none relevant sites info

    Checked the xabbix log files and no errors reported

    If I try via the ip I get the php code as previously reported ie
    If I try via the we address I get 500 error - Internal Server Error!

    Last edited: Jul 16, 2007
  6. falko

    falko Super Moderator

    Can you try to switch off suPHP? Maybe that's the problem...

    Any errors in Apache's error log?
  7. steve1084

    steve1084 New Member

    Hi Falko

    Sorry about the delay

    Yes tried turning off suphp

    here are some of the log files

  8. falko

    falko Super Moderator

    Are you absolutely sure you've switched off suPHP?

Share This Page